4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 03:19:54 +08:00

18 lines
293 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
/* 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)
2000-02-17 19:39:52 +00:00
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _lseek_r (_REENT, fd, pos, whence);
#else
return _lseek (fd, pos, whence);
#endif
}