From b1ddaa81f28b8bbc62d6d50526e0935b173099eb Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 17 Apr 2021 10:28:11 +0200 Subject: Init --- stdio/temp.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 stdio/temp.h (limited to 'stdio/temp.h') 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_ */ -- cgit 1.4.1