summaryrefslogtreecommitdiffstats
path: root/libc/stdio
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-19 20:43:35 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-19 20:43:35 +0000
commitef4c2c2c190ec31c2e1f65a5b5a72098722639b1 (patch)
tree4dc19bf9783b8c3fb09e8b07a424e2090205d624 /libc/stdio
parentfd4620730408819a1c2b65b4662892a8288d2ce9 (diff)
downloaduClibc-alpine-ef4c2c2c190ec31c2e1f65a5b5a72098722639b1.tar.bz2
uClibc-alpine-ef4c2c2c190ec31c2e1f65a5b5a72098722639b1.tar.xz
Copy from trunk.
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/ftello64.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/stdio/ftello64.c b/libc/stdio/ftello64.c
new file mode 100644
index 000000000..3ba201968
--- /dev/null
+++ b/libc/stdio/ftello64.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 FTELL __ftello64
+# define OFFSET_TYPE __off64_t
+# include "fgetpos.c"
+#endif