summaryrefslogtreecommitdiff
path: root/do/tell
diff options
context:
space:
mode:
Diffstat (limited to 'do/tell')
-rw-r--r--do/tell27
1 files changed, 0 insertions, 27 deletions
diff --git a/do/tell b/do/tell
deleted file mode 100644
index 11e6f837db..0000000000
--- a/do/tell
+++ /dev/null
@@ -1,27 +0,0 @@
-long
-do_tell(stab)
-STAB *stab;
-{
- register STIO *stio;
-
- if (!stab)
- goto phooey;
-
- stio = stab_io(stab);
- if (!stio || !stio->ifp)
- goto phooey;
-
-#ifdef ULTRIX_STDIO_BOTCH
- if (feof(stio->ifp))
- (void)fseek (stio->ifp, 0L, 2); /* ultrix 1.2 workaround */
-#endif
-
- return ftell(stio->ifp);
-
-phooey:
- if (dowarn)
- warn("tell() on unopened file");
- errno = EBADF;
- return -1L;
-}
-