fgetws man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi 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]

List of man pages available for BSDi

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