summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-19 20:43:58 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-19 20:43:58 +0000
commit5f945ba3ca821cb84d568b49148834ad0a2ddfc5 (patch)
treee76edfd537770973b36b569e6ca4c32f43c0c820 /libc
parent280563b7df16a7a088f6280e65a9780863478d04 (diff)
downloaduClibc-alpine-5f945ba3ca821cb84d568b49148834ad0a2ddfc5.tar.bz2
uClibc-alpine-5f945ba3ca821cb84d568b49148834ad0a2ddfc5.tar.xz
Copy from trunk.
Diffstat (limited to 'libc')
-rw-r--r--libc/stdio/fopen64.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/stdio/fopen64.c b/libc/stdio/fopen64.c
new file mode 100644
index 000000000..7510f9a93
--- /dev/null
+++ b/libc/stdio/fopen64.c
@@ -0,0 +1,15 @@
+/* Copyright (C) 2004 Manuel Novoa III <mjn3@codepoet.org>
+ *
+ * GNU Library General Public License (LGPL) version 2 or later.
+ *
+ * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
+ */
+
+#include "_stdio.h"
+
+#ifdef __UCLIBC_HAS_LFS__
+# define __DO_LARGEFILE
+# define fopen fopen64
+# define FILEDES_ARG (-2)
+# include "fopen.c"
+#endif