about summary refs log tree commit diff
path: root/include/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h
index dcc9c15ec7..eff125f476 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -36,7 +36,12 @@ extern int __path_search __P ((char *__tmpl, size_t __tmpl_len,
 			       __const char *__dir, __const char *__pfx,
 			       int __try_tempdir));
 
-extern int __gen_tempname __P ((char *__tmpl, int __openit, int __large_file));
+extern int __gen_tempname __P ((char *__tmpl, int __kind));
+/* The __kind argument to __gen_tempname may be one of: */
+#define __GT_FILE	0	/* create a file */
+#define __GT_BIGFILE	1	/* create a file, using open64 */
+#define __GT_DIR	2	/* create a directory */
+#define __GT_NOCREATE	3	/* just find a name not currently in use */
 
 /* Print out MESSAGE on the error output and abort.  */
 extern void __libc_fatal __P ((__const char *__message))