fgetws man page on BSDOS

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

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

NAME
     fgetws - read wide-character string from a stream

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

     wchar_t *
     fgetws(wchar_t *ws, int n, FILE *stream);

DESCRIPTION
     The fgetws() function is similar to the fgets(3) function, but rather
     than reading a string of byte sized characters, it uses fgetrune(3) to
     read multi-byte characters and convert them into wide-character codes.

RETURN VALUES
     The fgetws() function returns ws on success and NULL on error.

SEE ALSO
     fgetrune(3),  fgets(3)

BUGS
     If an invalid multi-byte sequence is encountered then NULL is returned,
     errno is set to EILSEQ and all the valid characters up to that point are
     lost.  So saith the standard.

BSDI BSD/OS		       December 9, 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