unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (NetBSD-6.1.5)
Page:
Section:
Apropos / Subsearch:
optional field

MEMSET(3)                  Library Functions Manual                  MEMSET(3)

NAME
     memset -- write a byte to byte string

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <&lt;string.h>&gt;

     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)

STANDARDS
     The memset() function conforms to ANSI X3.159-1989 (``ANSI C89'').

NetBSD 6.1.5                     June 4, 1993                     NetBSD 6.1.5