OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [syscalls/] [syslseek.c] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/* connector for lseek */
2
 
3
#include <reent.h>
4
#include <unistd.h>
5
 
6
off_t
7
lseek (fd, pos, whence)
8
     int fd;
9
     off_t pos;
10
     int whence;
11
{
12
#ifdef REENTRANT_SYSCALLS_PROVIDED
13
  return _lseek_r (_REENT, fd, pos, whence);
14
#else
15
  return _lseek (fd, pos, whence);
16
#endif
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.