source:
EcnlProtoTool/trunk/musl-1.1.18/src/fcntl/creat.c@
445
Last change on this file since 445 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 158 bytes |
Line | |
---|---|
1 | #include <fcntl.h> |
2 | #include "libc.h" |
3 | |
4 | int creat(const char *filename, mode_t mode) |
5 | { |
6 | return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode); |
7 | } |
8 | |
9 | LFS64(creat); |
Note:
See TracBrowser
for help on using the repository browser.