From 85adf316046f5c7f69cb859c1f4d3652b1a8841e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 26 Sep 2000 09:57:34 +0000 Subject: Update. 2000-09-26 Andreas Jaeger * misc/mkstemp64.c: New file. * misc/Makefile (routines): Add mkstemp64. * stdlib/stdlib.h: Add prototype and redirection magic. * misc/Versions: Add mkstemp64. --- stdlib/stdlib.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'stdlib') diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 075f47c..a9577e3 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -628,7 +628,18 @@ extern char *mktemp (char *__template) __THROW; they are replaced with a string that makes the filename unique. Returns a file descriptor open on the file for reading and writing, or -1 if it cannot create a uniquely-named file. */ +# ifndef __USE_FILE_OFFSET64 extern int mkstemp (char *__template) __THROW; +# else +# ifdef __REDIRECT +extern int __REDIRECT (mkstemp, (char *__template) __THROW, mkstemp64); +# else +# define mkstemp mkstemp64 +# endif +# endif +# ifdef __USE_LARGEFILE64 +extern int mkstemp64 (char *__template) __THROW; +# endif #endif #ifdef __USE_BSD -- cgit v1.1