X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/9385eb3d10ebe5eb398c52040ec3dbfba9b0cdcf..HEAD:/stdio/FreeBSD/putwc.3?ds=inline diff --git a/stdio/FreeBSD/putwc.3 b/stdio/FreeBSD/putwc.3 index b117a04..84799bc 100644 --- a/stdio/FreeBSD/putwc.3 +++ b/stdio/FreeBSD/putwc.3 @@ -15,10 +15,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. @@ -36,32 +32,40 @@ .\" SUCH DAMAGE. .\" .\" @(#)putc.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/stdio/putwc.3,v 1.6 2002/12/04 18:57:45 ru Exp $ +.\" $FreeBSD: src/lib/libc/stdio/putwc.3,v 1.8 2007/01/09 00:28:07 imp Exp $ .\" -.Dd October 10, 2002 +.Dd March 3, 2004 .Dt PUTWC 3 .Os .Sh NAME .Nm fputwc , .Nm putwc , .Nm putwchar -.Nd output a wide-character to a stream +.Nd output a wide character to a stream .Sh LIBRARY .Lb libc .Sh SYNOPSIS .In stdio.h .In wchar.h .Ft wint_t -.Fn fputwc "wchar_t wc" "FILE *stream" +.Fo fputwc +.Fa "wchar_t wc" +.Fa "FILE *stream" +.Fc .Ft wint_t -.Fn putwc "wchar_t wc" "FILE *stream" +.Fo putwc +.Fa "wchar_t wc" +.Fa "FILE *stream" +.Fc .Ft wint_t -.Fn putwchar "wchar_t wc" +.Fo putwchar +.Fa "wchar_t wc" +.Fc .Sh DESCRIPTION The .Fn fputwc function -writes the wide-character +writes the wide character .Fa wc to the output stream pointed to by .Fa stream . @@ -79,6 +83,12 @@ is identical to .Fn putwc with an output stream of .Dv stdout . +.Pp +Extended locale versions of these functions are documented in +.Xr putwc_l 3 . +See +.Xr xlocale 3 +for more information. .Sh RETURN VALUES The .Fn fputwc , @@ -86,7 +96,7 @@ The and .Fn putwchar functions -return the wide-character written. +return the wide character written. If an error occurs, the value .Dv WEOF is returned. @@ -95,6 +105,7 @@ is returned. .Xr fopen 3 , .Xr getwc 3 , .Xr putc 3 , +.Xr putwc_l 3 , .Xr stdio 3 .Sh STANDARDS The