Welcome to mirror list, hosted at ThFree Co, Russian Federation.

syslseek.c « syscalls « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a1722471c3f64e823536a0b3bc07cc8006efcc2b (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
_DEFUN (lseek, (fd, pos, whence),
     int fd _AND
     off_t pos _AND
     int whence)
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _lseek_r (_REENT, fd, pos, whence);
#else
  return _lseek (fd, pos, whence);
#endif
}