Searched refs:dirfd (Results 1 – 7 of 7) sorted by relevance
/coreutils/src/ |
D | pinky.c | 203 int dirfd; in print_entry() local 205 dirfd = AT_FDCWD; in print_entry() 215 dirfd = dev_dirfd; in print_entry() 218 if (AT_FDCWD <= dirfd && fstatat (dirfd, line, &stats, 0) == 0) in print_entry()
|
D | who.c | 339 int dirfd; in print_user() local 341 dirfd = AT_FDCWD; in print_user() 351 dirfd = dev_dirfd; in print_user() 354 if (AT_FDCWD <= dirfd && fstatat (dirfd, line, &stats, 0) == 0) in print_user()
|
D | install.c | 436 change_attributes (char const *name, int dirfd, char const *relname) in change_attributes() argument 452 && lchownat (dirfd, relname, owner_id, group_id) != 0) in change_attributes() 454 else if (chmodat (dirfd, relname, mode) != 0) in change_attributes() 470 int dirfd, char const *relname) in change_timestamps() argument 476 if (utimensat (dirfd, relname, timespec, 0)) in change_timestamps()
|
D | copy.c | 201 follow_fstatat (int dirfd, char const *filename, struct stat *st, int flags) in follow_fstatat() argument 203 int result = fstatat (dirfd, filename, st, flags); in follow_fstatat() 884 fchmod_or_lchmod (int desc, int dirfd, char const *name, mode_t mode) in fchmod_or_lchmod() argument 890 return lchmodat (dirfd, name, mode); in fchmod_or_lchmod() 898 fchown_or_lchown (int desc, int dirfd, char const *name, uid_t uid, gid_t gid) in fchown_or_lchown() argument 904 return lchownat (dirfd, name, uid, gid); in fchown_or_lchown() 2238 int dirfd = rename_errno == 0 ? dst_dirfd : AT_FDCWD; in copy_internal() local 2242 if (follow_fstatat (dirfd, relname, &src_sb, fstatat_flags) != 0) in copy_internal()
|
D | pwd.c | 165 fd = dirfd (dirp); in find_dir_entry()
|
D | ls.c | 3009 int fd = dirfd (dirp); in print_dir()
|
/coreutils/tests/rm/ |
D | r-root.sh | 69 int unlinkat (int dirfd, const char *pathname, int flags)
|