Manual Page Result
0
Command: memset | Section: 3 | Source: OpenBSD | File: memset.3
MEMSET(3) FreeBSD Library Functions 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
unsigned char) to the string b.
RETURN VALUES
The memset() function returns the original value of b.
SEE ALSO
bzero(3), swab(3), wmemset(3)
STANDARDS
The memset() function conforms to ANSI X3.159-1989 ("ANSI C89").
HISTORY
The memset() function first appeared in AT&T System V UNIX and was
reimplemented for 4.3BSD.
FreeBSD 14.1-RELEASE-p8 December 11, 2024 FreeBSD 14.1-RELEASE-p8