]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/wmemset.3
All pages: Remove the 5th argument to .TH
[thirdparty/man-pages.git] / man3 / wmemset.3
CommitLineData
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
13wmemset \- fill an array of wide-characters with a constant wide character
f22061b5
AC
14.SH LIBRARY
15Standard 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
24The
25.BR wmemset ()
26function is the wide-character equivalent of the
27.BR memset (3)
28function.
35cfd378
MK
29It fills the array of
30.I n
31wide-characters starting at
32.I wcs
33with
34.I n
35copies of the wide character
36.IR wc .
47297adb 37.SH RETURN VALUE
60a90ecd 38.BR wmemset ()
35cfd378
MK
39returns
40.IR wcs .
27c1d76a 41.SH ATTRIBUTES
bb46c694
PH
42For 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
47allbox;
c466875e 48lbx lb lb
bb46c694
PH
49l l l.
50Interface Attribute Value
51T{
27c1d76a 52.BR wmemset ()
bb46c694
PH
53T} Thread safety MT-Safe
54.TE
c466875e
MK
55.hy
56.ad
57.sp 1
3113c7f3 58.SH STANDARDS
d5b31ab4 59POSIX.1-2001, POSIX.1-2008, C99.
47297adb 60.SH SEE ALSO
fea681da 61.BR memset (3)