man.bsd.lv manual page server

Manual Page Search Parameters
MEMSET(3) Library Functions Manual MEMSET(3)

memsetwrite a byte to byte string

#include <string.h>

void *
memset(void *b, int c, size_t len);

The () 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 ANSI X3.159-1989 (“ANSI C89”).

4.4BSD-Lite2 June 4, 1993 MEMSET(3)