◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── 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 and _O_BINARY are defined in FCNTL.H.) See ◄BINMODE.OBJ► for a discussion of binary and text modes. -♦-