INtime SDK Help
fwide

Determines the orientation of the stream pointed to by stream.

#include <wchar.h>

int fwide(FILE *stream, int mode);

Parameters

stream
Pointer to FILE structure.
mode
File pointer position-indicator storage.

Remarks

If mode is greater than zero, the function first attempts to make the stream wide oriented. If mode is less than zero, the function first attempts to make the stream byte oriented. Otherwise, mode is zero and the function does not alter the orientation of the stream.

Return Values

Returns a value greater than zero if, after the call, the stream has wide orientation, a value less than zero if the stream has byte orientation, or zero if the stream has no orientation.

Requirements

Versions Defined in Include Link to
INtime 6.0 intime/rt/include/wchar.h wchar.h clib.lib
   
See Also