diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-11-15 08:22:03 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-11-15 08:22:03 +0000 |
commit | 22d7fbdbae4032639461a7a081762a05deee0529 (patch) | |
tree | ff70bd4613f1f05823b2417b2687449d73ac45b0 /posix/unistd.h | |
parent | 1beea155aecf2e7d6bfa1399b7c0f4f53dde408c (diff) |
Updated to fedora-glibc-20051115T0809
Diffstat (limited to 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index b0fba33417..86e0e9e659 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -431,6 +431,14 @@ extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) #endif /* Use BSD || X/Open Unix. */ +#ifdef __USE_GNU +/* Change the owner and group of FILE relative to the directory FD is open + on. */ +extern int fchownat (int __fd, __const char *__file, __uid_t __owner, + __gid_t __group, int __flag) + __THROW __nonnull ((2)) __wur; +#endif /* Use GNU. */ + /* Change the process's working directory to PATH. */ extern int chdir (__const char *__path) __THROW __nonnull ((1)) __wur; @@ -749,6 +757,12 @@ extern int readlink (__const char *__restrict __path, char *__restrict __buf, /* Remove the link NAME. */ extern int unlink (__const char *__name) __THROW __nonnull ((1)); +#ifdef __USE_GNU +/* Remove the link NAME relative to FD. */ +extern int unlinkat (int __fd, __const char *__name, int __flag) + __THROW __nonnull ((2)); +#endif + /* Remove the directory PATH. */ extern int rmdir (__const char *__path) __THROW __nonnull ((1)); |