Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MEMSET(3)		 BSD Library Functions Manual		     MEMSET(3)

NAME
     memset -- write a byte to byte string

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.

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

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

HISTORY
     The memset() function first appeared in AT&T System V UNIX	and was	re-
     implemented for 4.3BSD-Tahoe.

BSD				 June 5, 2013				   BSD

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

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=memset&sektion=3&manpath=OpenBSD+6.5>

home | help