4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 19:40:07 +08:00

20 lines
533 B
C
Raw Normal View History

2000-02-17 19:38:33 +00:00
/*
* 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.
2000-02-17 19:38:33 +00:00
*
* 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:
2000-02-17 19:38:33 +00:00
*
2007-06-17 02:12:47 +00:00
* #include <fcntl.h>
* int _CRT_fmode = _O_BINARY;
2000-02-17 19:38:33 +00:00
*
* to your app.
2000-02-17 19:38:33 +00:00
*/
int _CRT_fmode = 0;