HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
g
getwc(3C) getwc(3C)
ignoring or blocking the SIGTTIN signal or the process group of the process is
orphaned.
[EILSEQ] The data obtained from the input stream does not form a valid wide character.
Additional errno values may be set by the underlying read() function (see read(2)).
EXTERNAL INFLUENCES
Locale
The LC_CTYPE category determines how wide character conversions are done.
International Code Set Support
Single- and multi-byte character code sets are supported.
WARNINGS
If the value returned by getwc(), getwchar() , fgetwc(),orfgetwc_unlocked() is stored into
a type wchar_t variable then compared against the constant WEOF, the comparison may never succeed
because extension of a wchar_t to a wint_t is machine-dependent.
getwc_unlocked()
, getwchar_unlocked()
and fgetwc_unlocked()
are obsolescent inter-
faces supported only for compatibility with existing DCE applications. New multithreaded applications
should use
getwc(), getwchar() and fgetwc().
AUTHOR
getwc() was developed by OSF and HP.
SEE ALSO
fclose(3S), ferror(3S), flockfile(3S), fopen(3S), fread(3S), fgetws(3C), orientation(5), putwc(3C), read(2),
scanf(3S), orientation(5).
STANDARDS CONFORMANCE
getwc(): XPG4
fgetwc(): XPG4
getwchar(): XPG4
Section 3−−370 − 2 − HP-UX Release 11i: December 2000
___
___