Computer Science


MEMSET(3)           Linux Programmer's Manual           MEMSET(3)

NAME
       memset - fill memory with a constant byte

SYNOPSIS
       #include <string.h>

       void *memset(void *s, int c, size_t n);

DESCRIPTION
       The  memset() function fills the first n bytes of the mem-
       ory area pointed to by s with the constant byte c.

RETURN VALUE
       The memset() function returns a pointer to the memory area
       s.

CONFORMING TO
       SVID 3, BSD 4.3, ISO 9899

SEE ALSO
       bzero(3), swab(3)

GNU                       April 11, 1993                        1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page