Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
fwide - specify file orientation
&pagelevel(4)&pagelevel
Syntax | #include <stdio.h> #include <wchar.h> int fwide(FILE *dz, int mode); |
Description | Description fwide() specifies the orientation of the file with the file pointer dz as long as this file does not have an orientation. If the orientation has already been specified, for example by a previous I/O operation, then fwide() does not change this orientation. fwide() attempts to set the orientation depending on the mode argument in the following manner:
mode > 0 | File is wide character-orientedrientiert. | mode < 0 | FIle is byte-oriented. | mode = 0 | The file orientation is not changed. |
|
Return val. | > 0 | if dz is wide character-oriented after calling fwide() . |
| < 0 | if dz is byte-oriented after calling fwide() . |
| 0 | if dz does not have an orientation. |
Notes | In this version of the C runtime system only 1 byte characters are supported as wide characters. |