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