Searched refs:SHELL_FD_BASE (Results 1 – 1 of 1) sorted by relevance
/dports/shells/bash/bash-5.1/ |
H A D | redir.c | 88 #define SHELL_FD_BASE 10 macro 620 fd = fcntl (fd, F_DUPFD, SHELL_FD_BASE); 629 fd = fcntl (0, F_DUPFD, SHELL_FD_BASE); 632 fd = fcntl (1, F_DUPFD, SHELL_FD_BASE); 635 fd = fcntl (2, F_DUPFD, SHELL_FD_BASE); 768 if (clexec == -1 || (fd >= SHELL_FD_BASE && clexec == 1)) 935 redirector = fcntl (fd, F_DUPFD, SHELL_FD_BASE); /* XXX try this for now */ 1273 new_fd = fcntl (fd, F_DUPFD, (fdbase < SHELL_FD_BASE) ? SHELL_FD_BASE : fdbase+1); 1275 new_fd = fcntl (fd, F_DUPFD, SHELL_FD_BASE); 1305 if (clexec_flag == 0 && fd >= 3 && (new_fd >= SHELL_FD_BASE || savefd_flag)) [all …]
|