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

  man pages->FreeBSD man pages -> fputws (3)              
Title
Content
Arch
Section
 

FPUTWS(3)

Contents


NAME    [Toc]    [Back]

     fputws -- output a line of wide characters to a stream

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

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

     int
     fputws(const wchar_t * restrict ws, FILE * restrict fp);

DESCRIPTION    [Toc]    [Back]

     The fputws() function writes the wide character string pointed to by ws
     to the stream pointed to by fp.

RETURN VALUES    [Toc]    [Back]

     The fputws() function returns 0 on success and -1 on error.

ERRORS    [Toc]    [Back]

     The fputws() function will fail if:

     [EBADF]		The fp argument supplied is not a writable stream.

     The fputws() function may also fail and set errno for any of the errors
     specified for the routine write(2).

SEE ALSO    [Toc]    [Back]

      
      
     ferror(3), fputs(3), putwc(3), stdio(3)

STANDARDS    [Toc]    [Back]

     The fputws() function conforms to IEEE Std 1003.1-2001 (``POSIX.1'').


FreeBSD 5.2.1			August 6, 2002			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
fgetws FreeBSD get a line of wide characters from a stream
fputs FreeBSD output a line to a stream
puts NetBSD output a line to a stream
fputs NetBSD output a line to a stream
puts OpenBSD output a line to a stream
puts FreeBSD output a line to a stream
fputs OpenBSD output a line to a stream
fputwc FreeBSD output a wide-character to a stream
putwchar NetBSD output a wide-character to a stream
putwchar FreeBSD output a wide-character to a stream
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service