source:
azure_iot_hub/trunk/musl-1.1.18/src/fcntl/creat.c@
400
Last change on this file since 400 was 389, checked in by , 5 years ago | |
---|---|
|
|
File size: 158 bytes |
Rev | Line | |
---|---|---|
[388] | 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.