diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-16 10:08:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-16 10:08:27 +0000 |
commit | b02e50be3e853e6a67c9ed986b994fbeebb0f0a5 (patch) | |
tree | d88aa374171a6aa61a2838de89e9506cacfc0684 /libc/sysdeps/linux/common/tell.c | |
parent | 705ce36d85df6a6ab0f881a89797a5a88bd0422a (diff) |
Facelist/cleanup for several syscalls. Added poll.
Diffstat (limited to 'libc/sysdeps/linux/common/tell.c')
-rw-r--r-- | libc/sysdeps/linux/common/tell.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/common/tell.c b/libc/sysdeps/linux/common/tell.c index dcae83206..e02001d0d 100644 --- a/libc/sysdeps/linux/common/tell.c +++ b/libc/sysdeps/linux/common/tell.c @@ -1,16 +1,10 @@ -#define lseek __normal_lseek #include <errno.h> #include <unistd.h> #include <syscall.h> -#undef lseek - -static inline -_syscall3(off_t,lseek,int,fildes,off_t,offset,int,origin) off_t tell(int); -off_t -tell (int fildes) +off_t tell (int fildes) { return lseek (fildes, 0, SEEK_CUR); } |