lseek.c 181 B

123456789101112131415
  1. /* $Source$
  2. * $State$
  3. * $Revision$
  4. */
  5. #include <stdlib.h>
  6. #include <errno.h>
  7. #include <unistd.h>
  8. off_t lseek(int fd, off_t offset, int whence)
  9. {
  10. errno = EINVAL;
  11. return -1;
  12. }