1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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.
This commit is contained in:
Ulrich Drepper
2000-09-26 09:57:34 +00:00
parent 74955460c5
commit 85adf31604
5 changed files with 51 additions and 2 deletions

View File

@ -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