Lines Matching refs:pid
40 int pid; in slirp_tramp() local
44 pid = run_helper(slirp_pre_exec, &pe_data, argv); in slirp_tramp()
46 return pid; in slirp_tramp()
52 int fds[2], pid, err; in slirp_open() local
63 pid = err; in slirp_open()
68 pri->pid = err; in slirp_open()
87 if (pri->pid<1) { in slirp_close()
94 if (kill(pri->pid, SIGHUP)<0) { in slirp_close()
96 "(%d)\n", pri->pid, errno); in slirp_close()
99 err = helper_wait(pri->pid); in slirp_close()
103 pri->pid = -1; in slirp_close()