[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
fputws

Inserts a wide character array into a file stream
Compatibility:
This function is compatible with the following targets:
Prototype:
#include <wchar.h>
int fputws(const wchar_t * s, FILE * file);
Parameters:
Parameters for this function are:
Remarks:
Performs the same task as fputs for a wide character type.
If the file is opened in update mode (+) the file cannot be written to and then read from unless the write operation and read operation are separated by an operation that flushes the stream's buffer. This can be done with the fflush() function or one of the file positioning operations (fseek(), fsetpos(), or rewind()).
NOTE
On embedded/ RTOS systems this function only is implemented for stdin, stdout and stderr files.
Return:
Returns a zero if successful, and returns a nonzero value when it fails.
See Also:
"Wide Character and Byte Character Stream Orientation"
"fputs"
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000