Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DUNIXProcess_md.c815 volatile pid_t resultPid = vfork(); in startChild()
823 pid_t resultPid = fork(); in startChild()
825 if (resultPid == 0) in startChild()
827 assert(resultPid != 0); /* childProcess never returns */ in startChild()
828 return resultPid; in startChild()
843 int resultPid = -1; in UNIXProcess_forkAndExec() local
905 resultPid = startChild(c); in UNIXProcess_forkAndExec()
906 assert(resultPid != 0); in UNIXProcess_forkAndExec()
908 if (resultPid < 0) { in UNIXProcess_forkAndExec()
918 waitpid(resultPid, NULL, 0); in UNIXProcess_forkAndExec()
[all …]