Various additions and fixes.
This commit is contained in:
parent
74f990ad84
commit
fd04aacee1
57 changed files with 2176 additions and 159 deletions
8
src/lib9/create.c
Normal file
8
src/lib9/create.c
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <u.h>
|
||||
#include <libc.h>
|
||||
|
||||
int
|
||||
create(char *path, int mode, ulong perm)
|
||||
{
|
||||
return open(path, mode|O_CREAT|O_TRUNC, perm);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue