Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CRTfmode.c « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cc1653add3e39ce11c08faba644f9098081327d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * CRTfmode.c
 * This file has no copyright assigned and is placed in the Public Domain.
 * This file is a part of the mingw-runtime package.
 * No warranty is given; refer to the file DISCLAIMER within the package.
 *
 * This libmingw.a object sets  _CRT_fmode to a state that will cause 
 * _mingw32_init_fmode to leave all file modes in their default state 
 * (basically text mode).
 * 	
 * To override the default, add, eg:
 *
 * #include <fcntl.h>
 * int _CRT_fmode = _O_BINARY;
 *
 * to your app.	
 */

int _CRT_fmode = 0;