[Previous] [Contents] [Next]

fwprintf()

Write output to a stream

Synopsis:

#include <wchar.h>

int fwprintf( FILE * fp,
              const wchar_t * format,
              ... );

Library:

libc

Description:

The fwprintf() function writes output to the stream specified by fp, under control of the format specifier.

The format string is the same as the one used by printf(). The fwprint() function is the wide-character version of fprintf().

Returns:

<0
Failure; an error occurred and errno is set.
x
Success; the number of characters written, excluding the terminating NUL.

Classification:

ANSI

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes

See also:

errno, printf(), swprintf(), vfwprintf(), vwprintf(), vswprintf() wprintf(),


[Previous] [Contents] [Next]