summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/mingwex/fopen64.c
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-06-30 04:51:18 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-06-30 04:51:18 +0000
commit81223d017f09f34680f80df398d19165ab372525 (patch)
treecd78089531e0b299775431887d9aeabb9417c36f /winsup/mingw/mingwex/fopen64.c
parent76ce12c36057d9fe39bc53628891276b432a0e27 (diff)
downloadcygnal-81223d017f09f34680f80df398d19165ab372525.tar.gz
cygnal-81223d017f09f34680f80df398d19165ab372525.tar.bz2
cygnal-81223d017f09f34680f80df398d19165ab372525.zip
2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
Danny Smith <dannysmith@users.sourceforge.net> * include/stdio.h (fopen64): Add inline function. (fseeko64): Add prototype. (ftello64): Add inline function. * include/io.h (lseek64): Add inline function. * include/sys/types (off64_t): Add typedef. (fpos64_t): Add typedef. * mingwex/fopen64.c: New file. * mingwex/fseeko64.c: New file. * mingwex/ftello64.c: New file. * mingwex/lseek64.c: New file. * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c, fseeko.64.c, ftello64.c, lseek64.c. (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o. 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net> * include/stdio.h (__mingw_fseeko64): Add prototype. * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition. (__mingw_fwrite): Handle huge files.
Diffstat (limited to 'winsup/mingw/mingwex/fopen64.c')
-rw-r--r--winsup/mingw/mingwex/fopen64.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/mingw/mingwex/fopen64.c b/winsup/mingw/mingwex/fopen64.c
new file mode 100644
index 000000000..d1dca885b
--- /dev/null
+++ b/winsup/mingw/mingwex/fopen64.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+FILE* __cdecl
+fopen64 (const char* filename, const char* mode)
+{
+ return fopen (filename, mode);
+}