Refer to "wide characters" instead of "wide-characters".
This commit is contained in:
parent
76ef71db9d
commit
feae82b01a
@ -38,14 +38,14 @@
|
|||||||
.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
|
.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd October 10, 2002
|
.Dd March 3, 2004
|
||||||
.Dt GETWC 3
|
.Dt GETWC 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm fgetwc ,
|
.Nm fgetwc ,
|
||||||
.Nm getwc ,
|
.Nm getwc ,
|
||||||
.Nm getwchar
|
.Nm getwchar
|
||||||
.Nd get next wide-character from input stream
|
.Nd get next wide character from input stream
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
@ -61,7 +61,7 @@
|
|||||||
The
|
The
|
||||||
.Fn fgetwc
|
.Fn fgetwc
|
||||||
function
|
function
|
||||||
obtains the next input wide-character (if present) from the stream pointed at by
|
obtains the next input wide character (if present) from the stream pointed at by
|
||||||
.Fa stream ,
|
.Fa stream ,
|
||||||
or the next character pushed back on the stream via
|
or the next character pushed back on the stream via
|
||||||
.Xr ungetwc 3 .
|
.Xr ungetwc 3 .
|
||||||
@ -80,7 +80,7 @@ is equivalent to
|
|||||||
with the argument
|
with the argument
|
||||||
.Dv stdin .
|
.Dv stdin .
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
If successful, these routines return the next wide-character
|
If successful, these routines return the next wide character
|
||||||
from the
|
from the
|
||||||
.Fa stream .
|
.Fa stream .
|
||||||
If the stream is at end-of-file or a read error occurs,
|
If the stream is at end-of-file or a read error occurs,
|
||||||
|
@ -38,14 +38,14 @@
|
|||||||
.\" @(#)putc.3 8.1 (Berkeley) 6/4/93
|
.\" @(#)putc.3 8.1 (Berkeley) 6/4/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd October 10, 2002
|
.Dd March 3, 2004
|
||||||
.Dt PUTWC 3
|
.Dt PUTWC 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm fputwc ,
|
.Nm fputwc ,
|
||||||
.Nm putwc ,
|
.Nm putwc ,
|
||||||
.Nm putwchar
|
.Nm putwchar
|
||||||
.Nd output a wide-character to a stream
|
.Nd output a wide character to a stream
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
@ -61,7 +61,7 @@
|
|||||||
The
|
The
|
||||||
.Fn fputwc
|
.Fn fputwc
|
||||||
function
|
function
|
||||||
writes the wide-character
|
writes the wide character
|
||||||
.Fa wc
|
.Fa wc
|
||||||
to the output stream pointed to by
|
to the output stream pointed to by
|
||||||
.Fa stream .
|
.Fa stream .
|
||||||
@ -86,7 +86,7 @@ The
|
|||||||
and
|
and
|
||||||
.Fn putwchar
|
.Fn putwchar
|
||||||
functions
|
functions
|
||||||
return the wide-character written.
|
return the wide character written.
|
||||||
If an error occurs, the value
|
If an error occurs, the value
|
||||||
.Dv WEOF
|
.Dv WEOF
|
||||||
is returned.
|
is returned.
|
||||||
|
@ -38,12 +38,12 @@
|
|||||||
.\" @(#)ungetc.3 8.1 (Berkeley) 6/4/93
|
.\" @(#)ungetc.3 8.1 (Berkeley) 6/4/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd October 24, 2001
|
.Dd March 3, 2004
|
||||||
.Dt UNGETWC 3
|
.Dt UNGETWC 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm ungetwc
|
.Nm ungetwc
|
||||||
.Nd un-get wide-character from input stream
|
.Nd un-get wide character from input stream
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
.Lb libc
|
.Lb libc
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
@ -54,13 +54,13 @@
|
|||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Fn ungetwc
|
.Fn ungetwc
|
||||||
function pushes the wide-character
|
function pushes the wide character
|
||||||
.Fa wc
|
.Fa wc
|
||||||
(converted to an
|
(converted to an
|
||||||
.Vt wchar_t )
|
.Vt wchar_t )
|
||||||
back onto the input stream pointed to by
|
back onto the input stream pointed to by
|
||||||
.Fa stream .
|
.Fa stream .
|
||||||
The pushed-backed wide-characters will be returned by subsequent reads on the
|
The pushed-backed wide characters will be returned by subsequent reads on the
|
||||||
stream (in reverse order).
|
stream (in reverse order).
|
||||||
A successful intervening call, using the same stream, to one of the file
|
A successful intervening call, using the same stream, to one of the file
|
||||||
positioning functions
|
positioning functions
|
||||||
@ -68,9 +68,9 @@ positioning functions
|
|||||||
.Xr fsetpos 3 ,
|
.Xr fsetpos 3 ,
|
||||||
or
|
or
|
||||||
.Xr rewind 3
|
.Xr rewind 3
|
||||||
will discard the pushed back wide-characters.
|
will discard the pushed back wide characters.
|
||||||
.Pp
|
.Pp
|
||||||
One wide-character of push-back is guaranteed,
|
One wide character of push-back is guaranteed,
|
||||||
but as long as there is
|
but as long as there is
|
||||||
sufficient memory, an effectively infinite amount of pushback is allowed.
|
sufficient memory, an effectively infinite amount of pushback is allowed.
|
||||||
.Pp
|
.Pp
|
||||||
@ -81,7 +81,7 @@ The
|
|||||||
.Fn ungetwc
|
.Fn ungetwc
|
||||||
function
|
function
|
||||||
returns
|
returns
|
||||||
the wide-character pushed-back after the conversion, or
|
the wide character pushed-back after the conversion, or
|
||||||
.Dv WEOF
|
.Dv WEOF
|
||||||
if the operation fails.
|
if the operation fails.
|
||||||
If the value of the argument
|
If the value of the argument
|
||||||
|
Loading…
x
Reference in New Issue
Block a user