projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix dup3 ignoring all flags but O_CLOEXEC on archs with SYS_dup2 syscall
[musl]
/
src
/
fcntl
/
creat.c
1
#include <fcntl.h>
2
3
int creat(const char *filename, mode_t mode)
4
{
5
return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode);
6
}