1MEMSET(P)                  POSIX Programmer's Manual                 MEMSET(P)
2
3
4

NAME

6       memset - set bytes in memory
7

SYNOPSIS

9       #include <string.h>
10
11       void *memset(void *s, int c, size_t n);
12
13

DESCRIPTION

15       The memset() function shall copy c (converted to an unsigned char) into
16       each of the first n bytes of the object pointed to by s.
17

RETURN VALUE

19       The memset() function shall return s; no return value  is  reserved  to
20       indicate an error.
21

ERRORS

23       No errors are defined.
24
25       The following sections are informative.
26

EXAMPLES

28       None.
29

APPLICATION USAGE

31       None.
32

RATIONALE

34       None.
35

FUTURE DIRECTIONS

37       None.
38

SEE ALSO

40       The Base Definitions volume of IEEE Std 1003.1-2001, <string.h>
41
43       Portions  of  this text are reprinted and reproduced in electronic form
44       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
45       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
46       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
47       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
48       event of any discrepancy between this version and the original IEEE and
49       The  Open Group Standard, the original IEEE and The Open Group Standard
50       is the referee document. The original Standard can be  obtained  online
51       at http://www.opengroup.org/unix/online.html .
52
53
54
55IEEE/The Open Group                  2003                            MEMSET(P)
Impressum