aboutsummaryrefslogtreecommitdiff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-26 09:57:34 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-26 09:57:34 +0000
commit85adf316046f5c7f69cb859c1f4d3652b1a8841e (patch)
treef4f18f80014af2c044b0a7d06bacd70cdd44a8eb /stdlib/stdlib.h
parent74955460c5b9f23d7783395ce2478f5b7c5fd876 (diff)
downloadglibc-85adf316046f5c7f69cb859c1f4d3652b1a8841e.zip
glibc-85adf316046f5c7f69cb859c1f4d3652b1a8841e.tar.gz
glibc-85adf316046f5c7f69cb859c1f4d3652b1a8841e.tar.bz2
Update.
2000-09-26 Andreas Jaeger <aj@suse.de> * misc/mkstemp64.c: New file. * misc/Makefile (routines): Add mkstemp64. * stdlib/stdlib.h: Add prototype and redirection magic. * misc/Versions: Add mkstemp64.
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h11
1 files changed, 11 insertions, 0 deletions
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