Rivoreo Source Code Repositories
src.rivoreo.one
/
devel
/
celibc
/
ca2aeb48f35c93b8c2b9a46618c175a4ca4049cf
/
.
/
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
);
}