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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [sysdeps/] [tell.c] - Blame information for rev 1771

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

Line No. Rev Author Line
1 199 simons
#define lseek __normal_lseek
2
#include <unistd.h>
3
#include <syscall.h>
4
#undef lseek
5
 
6
static inline
7
_syscall3(off_t,lseek,int,fildes,off_t,offset,int,origin)
8
 
9
off_t tell(int);
10
 
11
off_t
12
tell (int fildes)
13
{
14
  return lseek (fildes, 0, SEEK_CUR);
15
}

powered by: WebSVN 2.1.0

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