blob: d44420db2659484cd16e957b6fd708e129a3ae9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <u.h>
#include <libc.h>
extern int _seek(vlong*, int, vlong, int);
vlong
seek(int fd, vlong o, int p)
{
vlong l;
if(_seek(&l, fd, o, p) < 0)
l = -1LL;
return l;
}
|