Rivoreo Source Code Repositories
src.rivoreo.one
/
devel
/
celibc
/
ff0ae249007110b3a07f5cf33a9dea9d41904bc6
/
.
/
posix-io
/
creat.c
blob: f17d8f710b5575e20f0942075446c60ec0a78258 [
file
] [
log
] [
blame
] [
raw
]
#include
<unistd.h>
int
creat
(
const
char
*
file
,
mode_t
mode
)
{
return
open
(
file
,
O_CREAT
|
O_WRONLY
|
O_TRUNC
,
mode
);
}