stdio: implement tempnam() and tmpnam()

This commit is contained in:
Alex Lyon
2019-04-26 20:39:03 -07:00
parent 5bbce37789
commit 3584edf199
6 changed files with 250 additions and 7 deletions
+3
View File
@@ -1,6 +1,9 @@
#ifndef _BITS_STDIO_H
#define _BITS_STDIO_H
// XXX: this is only here because cbindgen can't handle string constants
#define P_tmpdir "/tmp"
#define EOF (-1)
typedef struct FILE FILE;