lib9: move seek into open.c
More preparation for opendir.
This commit is contained in:
parent
6fd4e901ce
commit
16f60479e1
4 changed files with 7 additions and 12 deletions
|
|
@ -129,13 +129,18 @@ p9open(char *name, int mode)
|
|||
return fd;
|
||||
}
|
||||
|
||||
vlong
|
||||
p9seek(int fd, vlong offset, int whence)
|
||||
{
|
||||
return lseek(fd, offset, whence);
|
||||
}
|
||||
|
||||
int
|
||||
p9close(int fd)
|
||||
{
|
||||
return close(fd);
|
||||
}
|
||||
|
||||
|
||||
extern int _p9dir(struct stat*, struct stat*, char*, Dir*, char**, char*);
|
||||
|
||||
#if defined(__linux__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue