Searched refs:stdinfile (Results 1 – 2 of 2) sorted by relevance
150 int stdinfile = -1; in z_ExecCmdArray() local182 stdinfile = open(a_inputFile, O_RDONLY); in z_ExecCmdArray()184 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */ in z_ExecCmdArray()187 if (stdinfile < 0) { in z_ExecCmdArray()196 (void) close(stdinfile); in z_ExecCmdArray()205 (void) close(stdinfile); in z_ExecCmdArray()241 (void) dup2(stdinfile, STDIN_FILENO); in z_ExecCmdArray()265 (void) close(stdinfile); in z_ExecCmdArray()687 int stdinfile = -1; in _z_zone_exec() local749 stdinfile = open(a_inputFile, O_RDONLY); in _z_zone_exec()[all …]
314 int stdinfile = -1; in e_ExecCmdArray() local337 stdinfile = open(a_inputFile, O_RDONLY); in e_ExecCmdArray()339 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */ in e_ExecCmdArray()342 if (stdinfile < 0) { in e_ExecCmdArray()351 (void) close(stdinfile); in e_ExecCmdArray()360 (void) close(stdinfile); in e_ExecCmdArray()396 (void) dup2(stdinfile, STDIN_FILENO); in e_ExecCmdArray()416 (void) close(stdinfile); in e_ExecCmdArray()