fwide man page on FreeBSD

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

FWIDE(3)		 BSD Library Functions Manual		      FWIDE(3)

     fwide — get/set orientation of a stream

     Standard C Library (libc, -lc)

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

     fwide(FILE *stream, int mode);

     The fwide() function determines the orientation of the stream pointed at
     by stream.

     If the orientation of stream has already been determined, fwide() leaves
     it unchanged.  Otherwise, fwide() sets the orientation of stream accord‐
     ing to mode.

     If mode is less than zero, stream is set to byte-oriented.	 If it is
     greater than zero, stream is set to wide-oriented.	 Otherwise, mode is
     zero, and stream is unchanged.

     The fwide() function returns a value according to orientation after the
     call of fwide(); a value less than zero if byte-oriented, a value greater
     than zero if wide-oriented, and zero if the stream has no orientation.

     ferror(3), fgetc(3), fgetwc(3), fopen(3), fputc(3), fputwc(3),
     freopen(3), stdio(3)

     The fwide() function conforms to ISO/IEC 9899:1999 (“ISO C99”).

BSD			       October 24, 2001				   BSD

List of man pages available for FreeBSD

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]
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