Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)
Guardian Native C Library Calls (f) fgetwc(3)
NAME
fgetwc - Gets a wide character from a a specified input stream
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
SYNOPSIS
#include <wchar.h>
wint_t fgetwc(
FILE *stream);
PARAMETERS
stream Specifies the input data.
DESCRIPTION
The fgetwc( ) function gets the next wide character from the input stream specified by the stream
parameter.
RETURN VALUES
This function returns the wide character read or the constant WEOF (wide character End-Of-
File) at the end of the file or upon an error.
ERRORS
None. This function does not set errno.
RELATED INFORMATION
Functions: fopen(3), fread(3), getc(3), gets(3), getwc(3), getwchar(3), putwc(3), scanf(3).
527192-005 Hewlett-Packard Company 2−19