Home
last modified time | relevance | path

Searched refs:new_flags (Results 1 – 3 of 3) sorted by relevance

/coreutils/src/
Ddd.c2056 int new_flags = old_flags | add_flags; in set_fd_flags() local
2060 else if (old_flags != new_flags) in set_fd_flags()
2062 if (new_flags & (O_DIRECTORY | O_NOLINKS)) in set_fd_flags()
2069 else if ((new_flags & O_DIRECTORY) && ! S_ISDIR (st.st_mode)) in set_fd_flags()
2074 else if ((new_flags & O_NOLINKS) && 1 < st.st_nlink) in set_fd_flags()
2079 new_flags &= ~ (O_DIRECTORY | O_NOLINKS); in set_fd_flags()
2082 if (ok && old_flags != new_flags in set_fd_flags()
2083 && fcntl (fd, F_SETFL, new_flags) == -1) in set_fd_flags()
Dshred.c337 int new_flags = (enable in direct_mode() local
340 if (new_flags != fd_flags) in direct_mode()
341 fcntl (fd, F_SETFL, new_flags); in direct_mode()
Dtail.c1183 int new_flags = old_flags | (blocking ? 0 : O_NONBLOCK); in tail_forever() local
1185 || (new_flags != old_flags in tail_forever()
1186 && fcntl (fd, F_SETFL, new_flags) == -1)) in tail_forever()