]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/wcrtomb.3
Automated addition of parentheses by add_parens_for_own_funcs.sh
[thirdparty/man-pages.git] / man3 / wcrtomb.3
index 861b931ebed6fb162d2ab023503e502ef9312873..919efa967534bfd8daf3684d886f1e4f8d545d97 100644 (file)
@@ -23,14 +23,14 @@ wcrtomb \- convert a wide character to a multibyte sequence
 .SH DESCRIPTION
 The main case for this function is when \fIs\fP is not NULL and \fIwc\fP is not
 L'\\0'.
-In this case, the \fBwcrtomb\fP function converts the wide character \fIwc\fP
+In this case, the \fBwcrtomb\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 \fI*ps\fP, and
 returns the length of said multibyte representation, i.e. the number of bytes
 written at \fIs\fP.
 .PP
 A different case is when \fIs\fP is not NULL but \fIwc\fP is L'\\0'. In this
-case the \fBwcrtomb\fP function stores at the character array pointed to by
+case the \fBwcrtomb\fP() function stores at the character array pointed to by
 \fIs\fP the shift sequence needed to bring \fI*ps\fP back to the initial state,
 followed by a '\\0' byte. It updates the shift state \fI*ps\fP (i.e. brings
 it into the initial state), and returns the length of the shift sequence plus
@@ -43,7 +43,7 @@ buf is an internal anonymous buffer.
 In all of the above cases, if \fIps\fP is a NULL pointer, a static anonymous
 state only known to the wcrtomb function is used instead.
 .SH "RETURN VALUE"
-The \fBwcrtomb\fP function returns the number of bytes that have been or would
+The \fBwcrtomb\fP() function returns the number of bytes that have been or would
 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),
 (size_t)(\-1) is returned, and \fBerrno\fP set to \fBEILSEQ\fP.
@@ -52,7 +52,7 @@ ISO/ANSI C, UNIX98
 .SH "SEE ALSO"
 .BR wcsrtombs (3)
 .SH NOTES
-The behaviour of \fBwcrtomb\fP depends on the LC_CTYPE category of the
+The behaviour of \fBwcrtomb\fP() depends on the LC_CTYPE category of the
 current locale.
 .PP
 Passing NULL as \fIps\fP is not multi-thread safe.