]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/wctomb.3
Automated addition of parentheses by add_parens_for_own_funcs.sh
[thirdparty/man-pages.git] / man3 / wctomb.3
index 89b17f835491e4dc30d2c5ffdc772dd76e760748..988e4a71d8ec989ad711cb9a5cdc8dddaec7262c 100644 (file)
@@ -21,7 +21,7 @@ wctomb \- convert a wide character to a multibyte sequence
 .BI "int wctomb(char *" s ", wchar_t " wc );
 .fi
 .SH DESCRIPTION
-If \fIs\fP is not NULL, the \fBwctomb\fP function converts the wide character
+If \fIs\fP is not NULL, the \fBwctomb\fP() function converts the wide character
 \fIwc\fP to its multibyte representation and stores it at the beginning of
 the character array pointed to by \fIs\fP. It updates the shift state, which
 is stored in a static anonymous variable only known to the wctomb function,
@@ -31,19 +31,19 @@ bytes written at \fIs\fP.
 The programmer must ensure that there is room for at least \fBMB_CUR_MAX\fP
 bytes at \fIs\fP.
 .PP
-If \fIs\fP is NULL, the \fBwctomb\fP function
+If \fIs\fP is NULL, the \fBwctomb\fP() function
 .\" The Dinkumware doc and the Single Unix specification say this, but
 .\" glibc doesn't implement this.
 resets the shift state, only known to this function, to the initial state, and
 returns non-zero if the encoding has non-trivial shift state, or zero if the
 encoding is stateless.
 .SH "RETURN VALUE"
-If \fIs\fP is not NULL, the \fBwctomb\fP function returns the number of bytes
+If \fIs\fP is not NULL, the \fBwctomb\fP() function returns the number of bytes
 that have been written to the byte array at \fIs\fP. If \fIwc\fP can not be
 represented as a multibyte sequence (according to the current locale), \-1 is
 returned.
 .PP
-If \fIs\fP is NULL, the \fBwctomb\fP function returns non-zero if the
+If \fIs\fP is NULL, the \fBwctomb\fP() function returns non-zero if the
 encoding has non-trivial shift state, or zero if the encoding is stateless.
 .SH "CONFORMING TO"
 ISO/ANSI C, UNIX98
@@ -52,7 +52,7 @@ ISO/ANSI C, UNIX98
 .BR wcrtomb (3),
 .BR wcstombs (3)
 .SH NOTES
-The behaviour of \fBwctomb\fP depends on the LC_CTYPE category of the
+The behaviour of \fBwctomb\fP() depends on the LC_CTYPE category of the
 current locale.
 .PP
 This function is not multi-thread safe. The function \fBwcrtomb\fP provides