C Run-Time Library Reference
memset
set range of memory to a character
Synopsis
#include <string.h>
void *memset(void *s1, int c, size_t n);
Description
The
function sets a range of memory to the input character
memset
first
characters of
n
The
function returns a pointer to
memset
Error Conditions
The
function does not return an error condition.
memset
Example
#include <string.h>
char string1[50];
memset(string1, '\0', 50);
See Also
memcpy
3-100
are set to
.
s1
c
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
.
s1
/* set string1 to 0 */
for ADSP-219x DSPs
. The
c
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers