*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: memset | Section: 3 | Source: MINIX | File: memset.3
MEMSET(3) FreeBSD Library Functions Manual MEMSET(3) NAME memset - write a byte to byte string LIBRARY Standard C Library (libc, -lc) 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. Note that the compiler may optimize away a call to memset() if it can prove that the string will not be used by the program again, for example if it is allocated on the stack and about to out of scope. If you want to guarantee that zeros are written to memory, for example to sanitize a buffer holding a cryptographic secret, use explicit_memset(3). SEE ALSO bzero(3), explicit_memset(3), swab(3) STANDARDS The memset() function conforms to ANSI X3.159-1989 ("ANSI C89"). FreeBSD 14.1-RELEASE-p8 June 23, 2013 FreeBSD 14.1-RELEASE-p8

Navigation Options