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

  man pages->FreeBSD man pages -> memset (3)              
Title
Content
Arch
Section
 

MEMSET(3)

Contents


NAME    [Toc]    [Back]

     memset -- write a byte to byte string

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <string.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 its first argument.

SEE ALSO    [Toc]    [Back]

      
      
     bzero(3), swab(3)

STANDARDS    [Toc]    [Back]

     The memset() function conforms to ISO/IEC 9899:1990 (``ISO C89'').


FreeBSD 5.2.1			 June 4, 1993			 FreeBSD 5.2.1
[ 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