about summary refs log tree commit diff
path: root/src/temp/mkstemps.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/temp/mkstemps.c')
-rw-r--r--src/temp/mkstemps.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/temp/mkstemps.c b/src/temp/mkstemps.c
new file mode 100644
index 00000000..fda710b0
--- /dev/null
+++ b/src/temp/mkstemps.c
@@ -0,0 +1,12 @@
+#define _BSD_SOURCE
+#include <stdlib.h>
+#include "libc.h"
+
+int __mkostemps(char *, int, int);
+
+int mkstemps(char *template, int len)
+{
+	return __mkostemps(template, len, 0);
+}
+
+LFS64(mkstemps);