Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
7c3b67234c859f98a6365d215c5362c73eed5765
/
.
/
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
);