OSDN Git Service

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