summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/temp/mkstemp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libc-top-half/musl/src/temp/mkstemp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/temp/mkstemp.c b/libc-top-half/musl/src/temp/mkstemp.c
new file mode 100644
index 0000000..166b8af
--- /dev/null
+++ b/libc-top-half/musl/src/temp/mkstemp.c
@@ -0,0 +1,8 @@
+#include <stdlib.h>
+
+int mkstemp(char *template)
+{
+ return __mkostemps(template, 0, 0);
+}
+
+weak_alias(mkstemp, mkstemp64);