Home
last modified time | relevance | path

Searched refs:dir_fd (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/
Dshred.c1044 int dir_fd = -1; in wipename() local
1047 dir_fd = open (dir, O_RDONLY | O_DIRECTORY | O_NOCTTY | O_NONBLOCK); in wipename()
1065 if (0 <= dir_fd && dosync (dir_fd, qdir) != 0) in wipename()
1089 if (0 <= dir_fd) in wipename()
1091 if (dosync (dir_fd, qdir) != 0) in wipename()
1093 if (close (dir_fd) != 0) in wipename()
Dchmod.c120 mode_changed (int dir_fd, char const *file, char const *file_full_name, in mode_changed() argument
130 if (fstatat (dir_fd, file, &new_stats, 0) != 0) in mode_changed()