Searched refs:dup_CLOEXEC (Results 1 – 2 of 2) sorted by relevance
/busybox-1.35.0/shell/ |
D | hush.c | 1567 static int dup_CLOEXEC(int fd, int avoid_fd) in dup_CLOEXEC() function 7823 sq[i].moved_to = dup_CLOEXEC(sq[i].moved_to, avoid_fd); in add_squirrel() 7837 moved_to = dup_CLOEXEC(fd, avoid_fd); in add_squirrel() 10159 IF_HUSH_MODE_X(if (G.x_mode_fd <= 0) G.x_mode_fd = dup_CLOEXEC(2, 10);) in set_mode() 10597 G_interactive_fd = dup_CLOEXEC(STDIN_FILENO, 254); in hush_main() 10674 G_interactive_fd = dup_CLOEXEC(STDIN_FILENO, 254); in hush_main() 10677 G_interactive_fd = dup_CLOEXEC(STDIN_FILENO, -1); in hush_main()
|
D | ash.c | 5631 dup_CLOEXEC(int fd, int avoid_fd) in dup_CLOEXEC() function 5756 new_fd = dup_CLOEXEC(fd, avoid_fd); in save_fd_on_redirect() 5771 new_fd = dup_CLOEXEC(fd, avoid_fd); in save_fd_on_redirect()
|