◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Variable: _fmode Include: <stdlib.h> Syntax: int _fmode; The _fmode variable controls the default file-translation mode. It is declared in STDLIB.H. By default, the value of _fmode is 0, causing files to be translated in text mode (unless specifically opened or set to binary mode). When _fmode is set to O_BINARY, the default mode is binary. You can set _fmode to the flag O_BINARY by linking with BINMODE.OBJ, or by assigning it the O_BINARY value. (O_TEXT amd O_BINARY are defined in FCNTL.H.) See ◄BINMODE.OBJ► for a discussion of binary and text modes.