From 60876a75445b1b65e4a0ec54e18205a79f79466b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 14 Dec 1998 15:23:56 +0000 Subject: Update. * include/stdio.h: Add new parameter to __path_search. * libio/oldtmpfile.c: Add 0 as new parameter to __path_search. * stdio-common/tmpfile.c: Likewise. * stdio-common/tmpfile64.c: Likewise. * stdio-common/tmpnam.c: Likewise. * stdio-common/tmpnam_r.c: Likewise. * stdio-common/tempnam.c: Add 1 as new parameter to __path_search. * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero consider TMPDIR environment variable and dir parameter. Otherwise not. * stdio-common/Makefile (tests): Add tst-tmpnam. * stdio-common/tst-tmpnam.c: New file. --- include/stdio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/stdio.h') diff --git a/include/stdio.h b/include/stdio.h index 071ce9f051..dcc9c15ec7 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -33,8 +33,8 @@ extern int __vsscanf __P ((__const char *__restrict __s, # include /* 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)); + __const char *__dir, __const char *__pfx, + int __try_tempdir)); extern int __gen_tempname __P ((char *__tmpl, int __openit, int __large_file)); @@ -42,5 +42,5 @@ extern int __gen_tempname __P ((char *__tmpl, int __openit, int __large_file)); extern void __libc_fatal __P ((__const char *__message)) __attribute__ ((__noreturn__)); - + #endif -- cgit v1.2.3