Everything

fwide


Specifies the input unit of a file.

[Format]

#include <stdio.h>

#include <wchar.h>

long fwide(FILE *fp, long mode);

[Parameters]

fp File pointer

mode Value indicating the input unit

[Return values]

A wide character is specified as the unit: Value greater than 0

A byte is specified as the unit: Value smaller than 0

No input/output unit is specified: 0

[Remarks]

The fwide function does not change the stream input/output unit that has already been determined.