Searched defs:childpid (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/tools/cscope-fast/
H A Dexec.c52 pid_t childpid; /* child's process ID */ variable
119 childpid = p;
147 childpid = 0;
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_util.c126 pid_t childpid; local
153 childpid = fork();
158 switch (childpid) {
171 (void) waitpid(childpid, NULL, 0);
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_child.c69 pid_t childpid; local
82 childpid = fork();
83 if (childpid == (pid_t) - 1) {
87 if (childpid == 0) {
197 prbstat = sync_child(childpid, smp, ret_val);
222 sync_child(int childpid, volatile shmem_msg_t *smp, prb_proc_ctl_t **proc_pp) argument
229 prbstat = prb_proc_open(childpid, proc_pp);
280 tempstat = prb_proc_reopen(childpid, proc_pp);
/illumos-gate/usr/src/cmd/rmt/
H A Drmt.c111 static pid_t childpid[MAXCHILD]; variable
414 (void) kill(childpid[--children], SIGKILL);
415 while (wait(NULL) != childpid[children])
447 (childpid[children] = fork()) > 0)
448 next = childpid[children++];
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_main.c145 pid_t childpid; variable
324 switch (childpid = fork()) {
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_db.c198 pid_t childpid; local
227 childpid = fork();
228 switch (childpid) {
252 if (waitid(P_PID, childpid, &info, WEXITED) == -1) {
262 zfarg.zfarg_inglobalzone = (zoneid == GLOBAL_ZONEID || childpid != 0);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c1380 pid_t childpid; local
1407 childpid = fork();
1408 if (childpid < 0) {
1414 if (childpid != 0) {
1429 tapeno+1, (long)parentpid, (long)childpid);
1433 if (waitproc == childpid)
1437 (long)parentpid, (long)childpid, (long)waitproc);
1441 (long)childpid, WTERMSIG(status),
1451 "Child %ld finishes X_FINOK\n"), (long)childpid);
1456 "Child %ld finishes X_ABORT\n"), (long)childpid);
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c2391 pid_t childpid = 0; local
2399 if ((childpid = fork()) == -1) {
2410 if (childpid != 0) {
2415 while (gps->fork_pid != childpid)
2423 childpid = getpid();
2441 gps->fork_pid = childpid;
2453 gps->fork_pid = childpid;
/illumos-gate/usr/src/cmd/init/
H A Dinit.c2456 pid_t childpid; local
2480 while ((childpid = fork()) == FAILURE) {
2498 if (childpid != 0) {
2530 process->p_pid = childpid;

Completed in 4262 milliseconds