MEMSET(3) MachTen Programmer’s Manual MEMSET(3)

NAME
memset - write a byte to byte string

SYNOPSIS
#include <string.h>

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

DESCRIPTION
The memset() function writes len bytes of value c (converted to an un-
signed char) to the string b.

RETURNS
The memset() function returns its first argument.

SEE ALSO
bzero(3), swab(3)

STANDARDS
The memset() function conforms to ANSI C3.159-1989 (‘‘ANSI C’’).

4.4BSD June 4, 1993 1