fgetwc man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]

FGETWC(3)		    BSD Programmer's Manual		     FGETWC(3)

NAME
     fgetwc, getwc, getwchar - get wide-character code from stream

SYNOPSIS
     #include <stdio.h>
     #include <wchar.h>

     wint_t
     fgetwc(FILE *stream);

     wint_t
     getwc(FILE *stream);

     wint_t
     getwchar();

DESCRIPTION
     The fgetwc() and getwc() functions are equivalent.	 The getwchar() func-
     tion is equivalent to fgetwc(stdin).  They all read the next wide-charac-
     ter (if any) from the specified stream. This may cause more than a single
     byte to be read from the input stream.

RETURN VALUES
     If successful, these routines return the next requested object from the
     stream. If the stream is at end-of-file or a read error occurs, the rou-
     tines return EOF. The routines feof(3) and ferror(3) must be used to dis-
     tinguish between end-of-file and error.  If an error occurs, the global
     variable errno is set to indicate the error.  The end-of-file condition
     is remembered, even on a terminal, and all subsequent attempts to read
     will return EOF until the condition is cleared with clearerr(3).

SEE ALSO
     ferror(3),	 fopen(3),  fwputc(3),	fwread(3)

BSDI BSD/OS		       December 8, 1997				     1
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net