Sign in
googlers
/
maze
/
klibc
/
f41b3ae4c4e37faa1f1eecf9599f8842813d0297
/
.
/
usr
/
klibc
/
creat.c
blob: b503bca706450d86bcd435ae7bf6630d207bf4dc [
file
] [
log
] [
blame
]
/*
* creat.c
*/
#include
<sys/types.h>
#include
<sys/stat.h>
#include
<fcntl.h>
int
creat
(
const
char
*
pathname
,
mode_t
mode
)
{
return
open
(
pathname
,
O_CREAT
|
O_WRONLY
|
O_TRUNC
,
mode
);
}