diff options
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h index 9336fe3cc..3c86f256b 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -148,6 +148,11 @@ libc_hidden_proto(remove) extern int rename (__const char *__old, __const char *__new) __THROW; __END_NAMESPACE_STD +#ifdef __USE_ATFILE +/* Rename file OLD relative to OLDFD to NEW relative to NEWFD. */ +extern int renameat (int __oldfd, __const char *__old, int __newfd, + __const char *__new) __THROW; +#endif __BEGIN_NAMESPACE_STD /* Create a temporary file and open it read/write. |