Searched refs:FDBASE (Results 1 - 3 of 3) sorted by relevance

/external/mksh/src/
H A Dmain.c1018 if ((tty_fd = fcntl(tfd, F_DUPFD, FDBASE)) < 0) {
1253 * set close-on-exec flag. See FDBASE in sh.h, maybe 24 not 10 here.
1260 if (fd < FDBASE && (nfd = fcntl(fd, F_DUPFD, FDBASE)) < 0 &&
1319 if (*name || fd >= FDBASE) {
H A Dshf.c69 if ((sflags & SHF_MAPHI) && fd < FDBASE) {
72 nfd = fcntl(fd, F_DUPFD, FDBASE);
H A Dsh.h368 #define FDBASE 10 /* First file usable by Shell */ macro
371 #define FDBASE 24 /* First file usable by Shell */ macro
918 #define SHF_MAPHI 0x0020 /* make fd > FDBASE (and close orig)

Completed in 77 milliseconds