summary refs log tree commit diff
path: root/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'stdio')
-rw-r--r--stdio/stdio.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/stdio/stdio.h b/stdio/stdio.h
index 7594f13840..2214302b68 100644
--- a/stdio/stdio.h
+++ b/stdio/stdio.h
@@ -155,14 +155,13 @@ extern int __stdio_open __P ((__const char *__file, __io_mode __m,
 			      __ptr_t *__cookieptr));
 /* Put out an error message for when stdio needs to die.  */
 extern void __stdio_errmsg __P ((__const char *__msg, size_t __len));
-/* Generate a unique file name (and possibly open it with mode "w+b").  */
-extern char *__stdio_gen_tempname __P ((char *__buf, size_t __bufsize,
-					__const char *__dir,
-					__const char *__pfx,
-					int __dir_search,
-					size_t *__lenptr,
-					FILE **__streamptr,
-					int __large_file));
+
+/* Generate a unique file name (and possibly open it).  */
+extern int __path_search __P ((char *__tmpl, size_t __tmpl_len,
+			       __const char *__dir,
+			       __const char *__pfx));
+
+extern int __gen_tempname __P ((char *__tmpl, int __openit, int __large_file));
 
 
 /* Print out MESSAGE on the error output and abort.  */