Query: getwc
OS: sunos
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
getwc(3C) Standard C Library Functions getwc(3C)NAMEgetwc - get wide character from a streamSYNOPSIS#include <stdio.h> #include <wchar.h> wint_t getwc(FILE *stream);DESCRIPTIONThe getwc() function is equivalent to fgetwc(3C), except that if it is implemented as a macro it may evaluate stream more than once, so the argument should never be an expression with side effects.RETURN VALUESRefer to fgetwc(3C).ERRORSRefer to fgetwc(3C).USAGEThis interface is provided to align with some current implementations and with possible future ISO standards. Because it may be implemented as a macro, getwc() may treat incorrectly a stream argument with side effects. In particular, getwc(*f++) may not work as expected. Therefore, use of this function is not recommended; fgetwc(3C) should be used instead.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOfgetwc(3C), attributes(5), standards(5) SunOS 5.10 24 Jul 2002 getwc(3C)
Related Man Pages |
---|
getwchar(3c) - opensolaris |
getwc(3p) - centos |
fgetwc(3) - redhat |
getwc(3c) - sunos |
getwc(3) - netbsd |
Similar Topics in the Unix Linux Community |
---|
Compiling Pcap.c |
Copying from one folder to another similar folder 1000x times |
Read text from file and print each character in separate line |