Namememset - set bytes in memory
SYNOPSIS
#include <string.h> void *memset(void *s, int c, size_t n);
Description
The memset() function copies c (converted to an unsigned char) into each of the first n bytes of the object pointed to by s.
Return value
The memset() function returns s; no return value is reserved to indicate an error.
Errors
No errors are defined.
Examples
None.
Application usage
None.
See also
<string.h>.
Derivation
Derived from Issue 1 of the SVID.
-
Sistemi operativi - Syscall atoi
-
Sistemi operativi - Syscall getpid
-
Sistemi operativi - Syscall pthread_cond_init
-
Sistemi operativi - Syscall pthread_mutex_lock