delorie.com/djgpp/doc/libc/libc_333.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

_fmode

Syntax

 
#include <fcntl.h>

extern int _fmode;

Description

This variable may be set to O_TEXT or O_BINARY to specify the mode that newly opened files should be opened in if the open call did not specify. See section open. See section fopen.

The default value is O_TEXT.

Portability

ANSI/ISO C No
POSIX No

Example

 
_fmode = O_BINARY;


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004