Cygwin: strptime: add release note
[newlib-cygwin.git] / winsup / cygwin / textreadmode.c
blob244673ffa89b8be1c8cbb036c55215aa6a5f8ffc
1 /* textreadmode.c
3 This file is part of Cygwin.
5 This software is a copyrighted work licensed under the terms of the
6 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
7 details. */
9 #include "winlean.h"
10 #include <sys/fcntl.h>
11 #include <sys/cygwin.h>
13 extern int _fmode;
14 void
15 cygwin_premain0 (int argc __attribute__ ((unused)),
16 char **argv __attribute__ ((unused)),
17 struct per_process *myself __attribute__ ((unused)))
19 static struct __cygwin_perfile pf[] =
21 {"", O_RDONLY | O_TEXT},
22 {NULL, 0}
24 cygwin_internal (CW_PERFILE, pf);