*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> memset (9)              
Title
Content
Arch
Section
 

MEMSET(9)

Contents


NAME    [Toc]    [Back]

     memset - write a byte to byte string

SYNOPSIS    [Toc]    [Back]

     #include <sys/systm.h>

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

DESCRIPTION    [Toc]    [Back]

     The memset() function writes len bytes of value c (converted to an
     unsigned char) to the string b.

RETURN VALUES    [Toc]    [Back]

     The memset() function returns the original value of b.

STANDARDS    [Toc]    [Back]

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

BSD                              July 7, 2001                              BSD
[ Back ]
 Similar pages
Name OS Title
bzero Linux write zeros to a byte string
bzero NetBSD write zeroes to a byte string
bzero FreeBSD write zeroes to a byte string
bzero NetBSD write zeroes to a byte string
bzero OpenBSD write zeroes to a byte string
memchr NetBSD locate byte in byte string
memchr OpenBSD locate byte in byte string
memchr FreeBSD locate byte in byte string
fputc Tru64 Write a byte or a word to a stream
putw Tru64 Write a byte or a word to a stream
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service