lib9: add close
More preparation for opendir.
This commit is contained in:
parent
58fdc083ad
commit
6fd4e901ce
2 changed files with 10 additions and 1 deletions
|
|
@ -129,6 +129,13 @@ p9open(char *name, int mode)
|
|||
return fd;
|
||||
}
|
||||
|
||||
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