Searched refs:fd_reopen (Results 1 – 8 of 8) sorted by relevance
/coreutils/gl/lib/ |
D | fd-reopen.h | 22 int fd_reopen (int, char const *, int, mode_t) _GL_ATTRIBUTE_NONNULL ();
|
D | fd-reopen.c | 32 fd_reopen (int desired_fd, char const *file, int flags, mode_t mode) in fd_reopen() function
|
/coreutils/src/ |
D | nohup.c | 126 if (fd_reopen (STDIN_FILENO, "/dev/null", O_WRONLY, 0) < 0) in main() 145 ? fd_reopen (STDOUT_FILENO, file, flags, mode) in main() 156 ? fd_reopen (STDOUT_FILENO, in_home, flags, mode) in main()
|
D | touch.c | 132 fd = fd_reopen (STDIN_FILENO, file, in touch()
|
D | csplit.c | 611 if (! STREQ (name, "-") && fd_reopen (STDIN_FILENO, name, O_RDONLY, 0) < 0) in set_input_file()
|
D | split.c | 1612 && fd_reopen (STDIN_FILENO, infile, O_RDONLY, 0) < 0) in main()
|
D | stty.c | 1402 if (fd_reopen (STDIN_FILENO, device_name, O_RDONLY | O_NONBLOCK, 0) < 0) in main()
|
D | dd.c | 1297 ret = fd_reopen (desired_fd, file, flag, mode); in ifd_reopen()
|