Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/csh/
H A Dsh.c1266 int script_fd = *(int *)cd; in close_except() local
1268 if (fd >= 3 && fd < NoFile && fd != script_fd) in close_except()
1276 int script_fd = *(int *)cd; in close_inuse() local
1278 if (fd >= 3 && fd < NoFile && fd != script_fd && in close_inuse()
1290 int script_fd = -1; in initdesc_x() local
1313 if (sscanf(argv[2], "/dev/fd/%d", &script_fd) != 1) in initdesc_x()
1314 script_fd = -1; in initdesc_x()
1317 fcntl(script_fd, F_SETFD, 1); in initdesc_x()
1330 (void) fdwalk(close_except, &script_fd); in initdesc_x()
1332 (void) fdwalk(close_inuse, &script_fd); in initdesc_x()