Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/u/ungetwc.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/u/ungetwc.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/u/ungetwc.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/u/ungetwc.html on line 8
Push a wide character back onto an input stream
#include <wchar.h>
wint_t ungetwc( wint_t wc,
FILE * fp );
- c
- The wide character that you want to push back.
- fp
- The stream you want to push the wide character back on.
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The ungetwc() function pushes the wide character specified by
wc back onto the input stream pointed to by fp.
The pushed-back character will be returned the next time that you read from
the stream but is discarded if you call
fflush()
or a file-positioning function
(fseek(),
fsetpos(),
or
rewind()) before the
next read operation is performed.
Only one character (the most recent one) of pushback is guaranteed.
The ungetwc() function clears the end-of-file indicator, unless the
value of wc is WEOF.
The character pushed back.
- EILSEQ
- Invalid character sequence or wide character.
ANSI,
POSIX 1003.1
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
fopen(),
getwc(),
ungetc()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/u/ungetwc.html on line 142
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/u/ungetwc.html on line 142