about summary refs log tree commit diff
path: root/arch/i386/bits/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/bits/stdio.h')
-rw-r--r--arch/i386/bits/stdio.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/i386/bits/stdio.h b/arch/i386/bits/stdio.h
new file mode 100644
index 00000000..b4611f3f
--- /dev/null
+++ b/arch/i386/bits/stdio.h
@@ -0,0 +1,17 @@
+#define BUFSIZ 1024
+
+#define FILENAME_MAX 4095
+#define FOPEN_MAX 1000
+#define TMP_MAX 10000
+
+#define L_cuserid 20
+#define L_tmpnam 20
+
+#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
+ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
+#define L_ctermid 20
+#endif
+
+#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
+#define P_tmpdir "/tmp"
+#endif