Home
last modified time | relevance | path

Searched refs:fd_reopen (Results 1 – 8 of 8) sorted by relevance

/coreutils/gl/lib/
Dfd-reopen.h22 int fd_reopen (int, char const *, int, mode_t) _GL_ATTRIBUTE_NONNULL ();
Dfd-reopen.c32 fd_reopen (int desired_fd, char const *file, int flags, mode_t mode) in fd_reopen() function
/coreutils/src/
Dnohup.c126 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()
Dtouch.c132 fd = fd_reopen (STDIN_FILENO, file, in touch()
Dcsplit.c611 if (! STREQ (name, "-") && fd_reopen (STDIN_FILENO, name, O_RDONLY, 0) < 0) in set_input_file()
Dsplit.c1612 && fd_reopen (STDIN_FILENO, infile, O_RDONLY, 0) < 0) in main()
Dstty.c1402 if (fd_reopen (STDIN_FILENO, device_name, O_RDONLY | O_NONBLOCK, 0) < 0) in main()
Ddd.c1297 ret = fd_reopen (desired_fd, file, flag, mode); in ifd_reopen()