summaryrefslogtreecommitdiff
path: root/newlib/libc/syscalls/syslseek.c
blob: 57d6423e9a47b31281d04e8cfeda11e29e7fe492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* connector for lseek */

#include <reent.h>
#include <unistd.h>

off_t
lseek (fd, pos, whence)
     int fd;
     off_t pos;
     int whence;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _lseek_r (_REENT, fd, pos, whence);
#else
  return _lseek (fd, pos, whence);
#endif
}