ungetwc.3 (01533af5a0f742541d5c97c54c9f3e766fcd5ce8) ungetwc.3 (46624699bd9486548307f128eb9447e691c08b75)
1.\" $NetBSD: ungetwc.3,v 1.3 2002/02/07 07:00:27 ross Exp $
2.\"
3.\" Copyright (c) 1990, 1991, 1993
4.\" The Regents of the University of California. All rights reserved.
5.\"
6.\" This code is derived from software contributed to Berkeley by
7.\" Chris Torek and the American National Standards Committee X3,
8.\" on Information Processing Systems.

--- 33 unchanged lines hidden (view full) ---

42.Dt UNGETWC 3
43.Os
44.Sh NAME
45.Nm ungetwc
46.Nd un-get wide-character from input stream
47.Sh LIBRARY
48.Lb libc
49.Sh SYNOPSIS
1.\" $NetBSD: ungetwc.3,v 1.3 2002/02/07 07:00:27 ross Exp $
2.\"
3.\" Copyright (c) 1990, 1991, 1993
4.\" The Regents of the University of California. All rights reserved.
5.\"
6.\" This code is derived from software contributed to Berkeley by
7.\" Chris Torek and the American National Standards Committee X3,
8.\" on Information Processing Systems.

--- 33 unchanged lines hidden (view full) ---

42.Dt UNGETWC 3
43.Os
44.Sh NAME
45.Nm ungetwc
46.Nd un-get wide-character from input stream
47.Sh LIBRARY
48.Lb libc
49.Sh SYNOPSIS
50.Fd #include \*[Lt]stdio.h\*[Gt]
51.Fd #include \*[Lt]wchar.h\*[Gt]
50.In stdio.h
51.In wchar.h
52.Ft wint_t
53.Fn ungetwc "wint_t wc" "FILE *stream"
54.Sh DESCRIPTION
55The
56.Fn ungetwc
57function pushes the wide-character
58.Fa wc
59(converted to an wchar_t)

--- 30 unchanged lines hidden (view full) ---

90the operation will fail and the stream will remain unchanged.
91.Sh SEE ALSO
92.Xr fseek 3 ,
93.Xr getwc 3
94.Sh STANDARDS
95The
96.Fn ungetwc
97function conforms to
52.Ft wint_t
53.Fn ungetwc "wint_t wc" "FILE *stream"
54.Sh DESCRIPTION
55The
56.Fn ungetwc
57function pushes the wide-character
58.Fa wc
59(converted to an wchar_t)

--- 30 unchanged lines hidden (view full) ---

90the operation will fail and the stream will remain unchanged.
91.Sh SEE ALSO
92.Xr fseek 3 ,
93.Xr getwc 3
94.Sh STANDARDS
95The
96.Fn ungetwc
97function conforms to
98.St -isoC99 .
98.St -isoC-99 .
99.Sh BUGS
100The current implementation uses a fixed sized ungetwc-buffer.
99.Sh BUGS
100The current implementation uses a fixed sized ungetwc-buffer.