Everything

ungetwc


Returns one wide character to a stream input/output file.

[Format]

#include <stdio.h>

#include <wchar.h>

wint_t ungetwc(wint_t c, FILE *fp);

[Parameters]

c Wide character to be returned

fp File pointer

[Return values]

Normal: Returned wide character

Abnormal: WEOF

[Remarks]

The ungetwc function is the wide-character version of the ungetc function.