mirror of
https://github.com/fluencelabs/musl
synced 2025-06-29 22:51:55 +00:00
initial check-in, version 0.5.0
This commit is contained in:
9
src/fcntl/creat.c
Normal file
9
src/fcntl/creat.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <fcntl.h>
|
||||
#include "libc.h"
|
||||
|
||||
int creat(const char *filename, mode_t mode)
|
||||
{
|
||||
return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode);
|
||||
}
|
||||
|
||||
LFS64(creat);
|
Reference in New Issue
Block a user