diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-26 09:57:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-26 09:57:34 +0000 |
commit | 85adf316046f5c7f69cb859c1f4d3652b1a8841e (patch) | |
tree | f4f18f80014af2c044b0a7d06bacd70cdd44a8eb /stdlib | |
parent | 74955460c5b9f23d7783395ce2478f5b7c5fd876 (diff) | |
download | glibc-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')
-rw-r--r-- | stdlib/stdlib.h | 11 |
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 |