projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avoid __synccall for setrlimit on kernels with prlimit syscall
[musl]
/
src
/
fcntl
/
creat.c
diff --git
a/src/fcntl/creat.c
b/src/fcntl/creat.c
index
be05faa
..
8f8aab6
100644
(file)
--- a/
src/fcntl/creat.c
+++ b/
src/fcntl/creat.c
@@
-1,9
+1,8
@@
#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
);
+
weak_alias(creat, creat64
);