putwc man page on OpenBSD

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

PUTWC(3)		  OpenBSD Programmer's Manual		      PUTWC(3)

NAME
     fputwc, putwc, putwchar - output a wide character to a stream

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

     wint_t
     fputwc(wchar_t wc, FILE *stream);

     wint_t
     putwc(wchar_t wc, FILE *stream);

     wint_t
     putwchar(wchar_t wc);

DESCRIPTION
     The fputwc() function writes the wide character wc to the output stream
     pointed to by stream.

     putwc() acts essentially identically to fputwc(), but is a macro that
     expands in-line.  It may evaluate stream more than once, so arguments
     given to putwc() should not be expressions with potential side effects.

     putwchar() is identical to putwc() with an output stream of stdout.

RETURN VALUES
     The functions, fputwc(), putwc() and putwchar() return the wide character
     written.  If an error occurs, the value WEOF is returned.

SEE ALSO
     ferror(3), fopen(3), getwc(3), stdio(3)

STANDARDS
     The functions fputwc(), putwc(), and putwchar(), conform to ISO/IEC
     9899:1999 (``ISO C99'').

OpenBSD 4.9		      September 10, 2010		   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

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