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

NAME

6       wmemset - set wide characters in memory
7

SYNOPSIS

9       #include <wchar.h>
10
11       wchar_t *wmemset(wchar_t *ws, wchar_t wc, size_t n);
12
13

DESCRIPTION

15       The  wmemset()  function  shall  copy  the value of wc into each of the
16       first n wide characters of the object pointed to by ws.  This  function
17       shall not be affected by locale and all wchar_t values shall be treated
18       identically.  The null wide character and  wchar_t  values  not  correā€
19       sponding to valid characters shall not be treated specially.
20
21       If  n is zero, the application shall ensure that ws is a valid pointer,
22       and the function shall copy zero wide characters.
23

RETURN VALUE

25       The wmemset() functions shall return the value of ws.
26

ERRORS

28       No errors are defined.
29
30       The following sections are informative.
31

EXAMPLES

33       None.
34

APPLICATION USAGE

36       None.
37

RATIONALE

39       None.
40

FUTURE DIRECTIONS

42       None.
43

SEE ALSO

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