projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement hcreate_r, hdestroy_r and hsearch_r
[oweals/musl.git]
/
src
/
fcntl
/
creat.c
1
#include <fcntl.h>
2
#include "libc.h"
3
4
int creat(const char *filename, mode_t mode)
5
{
6
return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode);
7
}
8
9
LFS64(creat);