☰
Debian Codegraph
@
0.0~git20260129.ec0effd-3
0.0~git20260129.ec0effd-2
/
/
libc-top-half
/
musl
/
src
/
fcntl
/
creat.c
☽
☼
libc-top-half/musl/src/fcntl/creat.c
code
plain
raw
MIT
2005-2019 Rich Felker <
[email protected]
>; 2005-2019 Many other contributors
debian/copyright
1
#include <fcntl.h>
2
3
int creat(const char *filename, mode_t mode)
4
{
5
return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode);
6
}
7
8
weak_alias(creat, creat64);