.\" 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.
.\" SUCH DAMAGE.
.\"
.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/stdio/getwc.3,v 1.6 2004/03/16 13:30:11 tjr Exp $
+.\" $FreeBSD: src/lib/libc/stdio/getwc.3,v 1.8 2007/01/09 00:28:06 imp Exp $
.\"
.Dd March 3, 2004
.Dt GETWC 3
.Ft wint_t
.Fn getwc "FILE *stream"
.Ft wint_t
-.Fn getwchar
+.Fn getwchar "void"
.Sh DESCRIPTION
The
.Fn fgetwc
.Fn getwc
with the argument
.Dv stdin .
+.Pp
+Extended locale versions of these functions are documented in
+.Xr getwc_l 3 .
+See
+.Xr xlocale 3
+for more information.
.Sh RETURN VALUES
If successful, these routines return the next wide character
from the
.Xr fopen 3 ,
.Xr fread 3 ,
.Xr getc 3 ,
+.Xr getwc_l ,
.Xr putwc 3 ,
.Xr stdio 3 ,
.Xr ungetwc 3
.Sh STANDARDS
The
.Fn fgetwc ,
-.Fn getwc
+.Fn getwc ,
and
.Fn getwchar
functions