]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (c) Bruno Haible <haible@clisp.cons.org> |
2 | .\" | |
e4a74ca8 | 3 | .\" SPDX-License-Identifier: GPL-2.0-or-later |
fea681da MK |
4 | .\" |
5 | .\" References consulted: | |
6 | .\" GNU glibc-2 source code and manual | |
7 | .\" Dinkumware C library reference http://www.dinkumware.com/ | |
008f1ecc | 8 | .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html |
fea681da MK |
9 | .\" ISO/IEC 9899:1999 |
10 | .\" | |
45186a5d | 11 | .TH WMEMSET 3 2021-03-22 "Linux man-pages (unreleased)" |
fea681da MK |
12 | .SH NAME |
13 | wmemset \- fill an array of wide-characters with a constant wide character | |
f22061b5 AC |
14 | .SH LIBRARY |
15 | Standard C library | |
8fc3b2cf | 16 | .RI ( libc ", " \-lc ) |
fea681da MK |
17 | .SH SYNOPSIS |
18 | .nf | |
19 | .B #include <wchar.h> | |
68e4db0a | 20 | .PP |
fea681da MK |
21 | .BI "wchar_t *wmemset(wchar_t *" wcs ", wchar_t " wc ", size_t " n ); |
22 | .fi | |
23 | .SH DESCRIPTION | |
60a90ecd MK |
24 | The |
25 | .BR wmemset () | |
26 | function is the wide-character equivalent of the | |
27 | .BR memset (3) | |
28 | function. | |
35cfd378 MK |
29 | It fills the array of |
30 | .I n | |
31 | wide-characters starting at | |
32 | .I wcs | |
33 | with | |
34 | .I n | |
35 | copies of the wide character | |
36 | .IR wc . | |
47297adb | 37 | .SH RETURN VALUE |
60a90ecd | 38 | .BR wmemset () |
35cfd378 MK |
39 | returns |
40 | .IR wcs . | |
27c1d76a | 41 | .SH ATTRIBUTES |
bb46c694 PH |
42 | For an explanation of the terms used in this section, see |
43 | .BR attributes (7). | |
c466875e MK |
44 | .ad l |
45 | .nh | |
bb46c694 PH |
46 | .TS |
47 | allbox; | |
c466875e | 48 | lbx lb lb |
bb46c694 PH |
49 | l l l. |
50 | Interface Attribute Value | |
51 | T{ | |
27c1d76a | 52 | .BR wmemset () |
bb46c694 PH |
53 | T} Thread safety MT-Safe |
54 | .TE | |
c466875e MK |
55 | .hy |
56 | .ad | |
57 | .sp 1 | |
3113c7f3 | 58 | .SH STANDARDS |
d5b31ab4 | 59 | POSIX.1-2001, POSIX.1-2008, C99. |
47297adb | 60 | .SH SEE ALSO |
fea681da | 61 | .BR memset (3) |