diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/stat.h | 2 | ||||
-rw-r--r-- | include/time.h | 1 | ||||
-rw-r--r-- | include/unistd.h | 4 |
3 files changed, 7 insertions, 0 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h index 13e777b..4a29e84 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -66,10 +66,12 @@ hidden_proto (__fstatat64_time64); extern int __chmod (const char *__file, __mode_t __mode); libc_hidden_proto (__chmod) extern int __fchmod (int __fd, __mode_t __mode); +extern int __fchmodat (int __fd, const char *__file, mode_t __mode, int __flag); libc_hidden_proto (fchmodat) extern __mode_t __umask (__mode_t __mask); extern int __mkdir (const char *__path, __mode_t __mode); libc_hidden_proto (__mkdir) +extern int __mkdirat (int __fd, const char *__path, mode_t __mode); extern int __mknodat (int fd, const char *path, mode_t mode, dev_t dev); libc_hidden_proto (__mknodat); diff --git a/include/time.h b/include/time.h index a64eff5..20abea6 100644 --- a/include/time.h +++ b/include/time.h @@ -196,6 +196,7 @@ extern int __utimensat64_helper (int fd, const char *file, const struct __timespec64 tsp[2], int flags); libc_hidden_proto (__utimensat64_helper); +extern int __futimesat (int __fd, const char *__file, const struct timeval __tvp[2]); #if __TIMESIZE == 64 # define __futimes64 __futimes # define __futimesat64 __futimesat diff --git a/include/unistd.h b/include/unistd.h index af795a3..4345d08 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -78,6 +78,7 @@ extern int __chown (const char *__file, libc_hidden_proto (__chown) extern int __fchown (int __fd, __uid_t __owner, __gid_t __group); +extern int __fchownat (int __fd, const char *__file, uid_t __owner, gid_t __group, int __flag); extern int __lchown (const char *__file, __uid_t __owner, __gid_t __group); extern int __chdir (const char *__path) attribute_hidden; @@ -148,9 +149,12 @@ libc_hidden_proto (_Fork); extern int __isatty (int __fd) attribute_hidden; extern int __link (const char *__from, const char *__to); extern int __symlink (const char *__from, const char *__to); +extern int __symlinkat (const char *__from, int __fd, const char *__to); extern ssize_t __readlink (const char *__path, char *__buf, size_t __len) attribute_hidden; +extern ssize_t __readlinkat (int __fd, const char *__file_name, char *__buf, size_t __len); extern int __unlink (const char *__name) attribute_hidden; +extern int __unlinkat (int __fd, const char *__name, int __flag); extern int __gethostname (char *__name, size_t __len) attribute_hidden; extern int __revoke (const char *__file); extern int __profil (unsigned short int *__sample_buffer, size_t __size, |