BSDforge.com

BSD , UNIX , man pages, & info pages :

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | man pages | documentation library | Writing UNIX manpages
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 its first argument.

SEE ALSO
     bzero(3), swab(3), wmemset(3)

STANDARDS
     The memset() function conforms to ISO/IEC 9899:1990 ("ISO C90").

FreeBSD 12.1-STABLE              June 4, 1993              FreeBSD 12.1-STABLE

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | STANDARDS

Want to link to this manual page?
/man/?query=memset&sektion=3&manpath=FreeBSD+8.2-stable

home | man pages | documentation library | Writing UNIX manpages
manpages@BSDforge — 2026-4-7