Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

getwchar(3) OSS Library Calls Reference Manual
NAME
getwchar - Gets a wide character from the standard input stream
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll
SYNOPSIS
#include <wchar.h>
wint_t getwchar(void);
PARAMETERS
None.
DESCRIPTION
The getwchar( ) function gets the next wide character from the standard input stream. It is
equivalent to getwc(stdin).
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: fgetwc(3), fopen(3), fread(3), getc(3), gets(3), getwc(3), putwc(3), scanf(3).
3156 Hewlett-Packard Company 527187-017