aboutsummaryrefslogtreecommitdiff
path: root/src/base/io/tell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/io/tell.c')
-rw-r--r--src/base/io/tell.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/io/tell.c b/src/base/io/tell.c
new file mode 100644
index 0000000..1c50439
--- /dev/null
+++ b/src/base/io/tell.c
@@ -0,0 +1,7 @@
+#include "internal.h"
+
+long
+io·tell(io·Stream *s)
+{
+ return ftell(s);
+}