Lines Matching refs:stdinfile
150 int stdinfile = -1; in z_ExecCmdArray() local
182 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() local
749 stdinfile = open(a_inputFile, O_RDONLY); in _z_zone_exec()
751 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */ in _z_zone_exec()
754 if (stdinfile < 0) { in _z_zone_exec()
763 (void) close(stdinfile); in _z_zone_exec()
771 (void) close(stdinfile); in _z_zone_exec()
839 (void) dup2(stdinfile, STDIN_FILENO); in _z_zone_exec()
906 (void) close(stdinfile); in _z_zone_exec()