*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> putwchar (3)              
Title
Content
Arch
Section
 

PUTWC(3)

Contents


NAME    [Toc]    [Back]

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

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #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    [Toc]    [Back]

     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    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

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

STANDARDS    [Toc]    [Back]

     The functions fputwc(), putwc(), and putwchar(), conform to .

BSD                            October 20, 2001                            BSD
[ Back ]
 Similar pages
Name OS Title
fputws FreeBSD output a line of wide characters to a stream
putw FreeBSD output a character or word to a stream
putw NetBSD output a character or word to a stream
putchar_unlocked NetBSD output a character or word to a stream
fputc OpenBSD output a character or word to a stream
putchar_unlocked FreeBSD output a character or word to a stream
putc NetBSD output a character or word to a stream
putchar NetBSD output a character or word to a stream
fputc NetBSD output a character or word to a stream
putchar FreeBSD output a character or word to a stream
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service