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

/external/mksh/src/
H A Dmain.c1130 if ((rv = fcntl(fd, F_DUPFD, FDBASE)) < 0) {
1356 if (shl_dbg_fd < FDBASE) {
1359 nfd = fcntl(shl_dbg_fd, F_DUPFD, FDBASE);
1391 * set close-on-exec flag. See FDBASE in sh.h, maybe 24 not 10 here.
1398 if (fd < FDBASE && (nfd = fcntl(fd, F_DUPFD, FDBASE)) < 0 &&
1457 if (*name || fd >= FDBASE) {
H A Dshf.c72 if ((sflags & SHF_MAPHI) && fd < FDBASE) {
75 nfd = fcntl(fd, F_DUPFD, FDBASE);
H A Dsh.h622 #define FDBASE 10 /* First file usable by Shell */ macro
625 #define FDBASE 24 /* First file usable by Shell */ macro
1062 #define SHF_MAPHI 0x0020 /* make fd > FDBASE (and close orig)
H A Dlex.c926 if (iop->unit >= FDBASE)

Completed in 243 milliseconds