qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_fmode
                                             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.