Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
29f3202b731185d993a399f04d2f3e3f78db5a81
/
.
/
src
/
fcntl
/
creat.c
blob: be05faae96cc6c841adc1a2a944d3c8cca9deb1f [
file
] [
log
] [
blame
]
#include
<fcntl.h>
#include
"libc.h"
int
creat
(
const
char
*
filename
,
mode_t
mode
)
{
return
open
(
filename
,
O_CREAT
|
O_WRONLY
|
O_TRUNC
,
mode
);
}
LFS64
(
creat
);