diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-08-14 07:38:41 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-08-14 07:38:41 +0000 |
commit | c67c02731b6507c5351bca70451441d9a26113ef (patch) | |
tree | afe8d99e55401fe7955475ab97a497cae2e23ab2 /stdlib | |
parent | 39762d6a5c0e378f20b28da7450868bfef588fb0 (diff) | |
download | glibc-c67c02731b6507c5351bca70451441d9a26113ef.tar.gz glibc-c67c02731b6507c5351bca70451441d9a26113ef.tar.xz glibc-c67c02731b6507c5351bca70451441d9a26113ef.zip |
Updated to fedora-glibc-20070814T0725 cvs/fedora-glibc-2_6_90-9
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/stdlib.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index d475668926..d405cbf7b6 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -614,6 +614,28 @@ extern int mkstemp64 (char *__template) __nonnull ((1)) __wur; extern char *mkdtemp (char *__template) __THROW __nonnull ((1)) __wur; #endif +#ifdef __USE_GNU +/* Generate a unique temporary file name from TEMPLATE similar to + mkstemp. But allow the caller to pass additional flags which are + used in the open call to create the file.. + + This function is a possible cancellation points and therefore not + marked with __THROW. */ +# ifndef __USE_FILE_OFFSET64 +extern int mkostemp (char *__template, int __flags) __nonnull ((1)) __wur; +# else +# ifdef __REDIRECT +extern int __REDIRECT (mkostemp, (char *__template, int __flags), mkostemp64) + __nonnull ((1)) __wur; +# else +# define mkostemp mkostemp64 +# endif +# endif +# ifdef __USE_LARGEFILE64 +extern int mkostemp64 (char *__template, int __flags) __nonnull ((1)) __wur; +# endif +#endif + __BEGIN_NAMESPACE_STD /* Execute the given line as a shell command. |