about summary refs log tree commit diff
path: root/stdio/temp.h
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-04-17 10:28:11 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-04-17 10:28:11 +0200
commitb1ddaa81f28b8bbc62d6d50526e0935b173099eb (patch)
treee606c194f8eecdedf3f710ed097cadfe97d60122 /stdio/temp.h
downloadmd2html-b1ddaa81f28b8bbc62d6d50526e0935b173099eb.tar.gz
md2html-b1ddaa81f28b8bbc62d6d50526e0935b173099eb.zip
Init
Diffstat (limited to 'stdio/temp.h')
-rw-r--r--stdio/temp.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/stdio/temp.h b/stdio/temp.h
new file mode 100644
index 0000000..9b6113f
--- /dev/null
+++ b/stdio/temp.h
@@ -0,0 +1,20 @@
+#ifndef COSMOPOLITAN_LIBC_STDIO_TEMP_H_
+#define COSMOPOLITAN_LIBC_STDIO_TEMP_H_
+#include "libc/stdio/stdio.h"
+#if !(__ASSEMBLER__ + __LINKER__ + 0)
+COSMOPOLITAN_C_START_
+
+nodiscard FILE *tmpfile(void);
+nodiscard int mkstemp(char *);
+nodiscard int mkostemp(char *, unsigned);
+nodiscard int mkstemps(char *, int);
+nodiscard int mkostemps(char *, int, unsigned);
+nodiscard int mkostempsm(char *, int, unsigned, int);
+compatfn char *mktemp(char *);
+
+int mkostempsmi(char *, int, unsigned, uint64_t *, int,
+                int (*)(const char *, int, ...)) hidden nodiscard;
+
+COSMOPOLITAN_C_END_
+#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
+#endif /* COSMOPOLITAN_LIBC_STDIO_TEMP_H_ */