aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-02-27 07:53:13 -0800
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-02-27 09:42:44 -0800
commit1b2184177553ce4ef8458034927ef50854be2af6 (patch)
treeb91ea628502ebbb23a2c9beae90917262cede379 /include
parentf627dd4da804c00b5e89e5e2c488c2bad6205262 (diff)
downloadglibc-1b2184177553ce4ef8458034927ef50854be2af6.tar
glibc-1b2184177553ce4ef8458034927ef50854be2af6.tar.gz
glibc-1b2184177553ce4ef8458034927ef50854be2af6.tar.bz2
glibc-1b2184177553ce4ef8458034927ef50854be2af6.zip
hurd: Add renameat2 support for RENAME_NOREPLACE
* include/stdio.h (__renameat2): New hidden prototype. * stdio-common/renameat2.c (__renameat2): Add hidden definition. * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to... * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function, and add support for RENAME_NOREPLACE. * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 7d1877ea5e..5302e61024 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -261,6 +261,8 @@ __putc_unlocked (int __c, FILE *__stream)
extern __typeof (renameat) __renameat;
libc_hidden_proto (__renameat)
+extern __typeof (renameat2) __renameat2;
+libc_hidden_proto (__renameat2)
# endif /* not _ISOMAC */
#endif /* stdio.h */