repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl.git]
/
src
/
fcntl
/
creat.c
blob
c9c43910d8245ce5beeea326ed989aaeeabbe3a5
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
}