This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Write a wide-character string to an output stream
#include <wchar.h> int fputws( const wchar_t * ws, FILE * fp );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The fputws() function writes the wide-character string specified by ws to the output stream specified by fp.
The terminating NUL wide character isn't written. |
A nonnegative value for success, or WEOF if an error occurs (errno is set).
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
"Stream I/O functions" and "Wide-character functions" in the summary of functions chapter.