netinet/in.h: add IPPROTO_MH
[uclibc-ng.git] / libc / stdio / fopen.c
bloba2d6617e8699923e75259c5ab0ef9d9ccc7808b9
1 /* Copyright (C) 2004 Manuel Novoa III <mjn3@codepoet.org>
3 * GNU Library General Public License (LGPL) version 2 or later.
5 * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
6 */
8 #include "_stdio.h"
10 #ifndef __DO_LARGEFILE
11 # define FILEDES_ARG (-1)
12 # undef fopen
13 #else
14 # undef fopen64
15 #endif
17 FILE *fopen(const char * __restrict filename, const char * __restrict mode)
19 return _stdio_fopen(((intptr_t) filename), mode, NULL, FILEDES_ARG);
21 libc_hidden_def(fopen)