memset -- write a byte to byte string
Standard C Library (libc, -lc)
#include <string.h>
void *
memset(void *b, int c, size_t len);
The memset() function writes len bytes of value c (converted to an
unsigned char) to the string b.
The memset() function returns its first argument.
bzero(3), swab(3)
The memset() function conforms to ISO/IEC 9899:1990 (``ISO C89'').
FreeBSD 5.2.1 June 4, 1993 FreeBSD 5.2.1 [ Back ] |