lseek.c 285 B

1234567891011121314
  1. /* $Source: /cvsroot/tack/Ack/plat/linux386/libsys/lseek.c,v $
  2. * $State: Exp $
  3. * $Revision: 1.1 $
  4. */
  5. #include <stdlib.h>
  6. #include <errno.h>
  7. #include <unistd.h>
  8. #include "libsys.h"
  9. off_t lseek(int fd, off_t offset, int whence)
  10. {
  11. return _syscall(__NR_lseek, fd, offset, whence);
  12. }