Lines Matching refs:pid
126 pid_t pid;
129 if ((pid = fork()) == -1)
132 if (pid == 0) {
157 * pass script's pid to dhcpagent.
159 (void) write(fd, &pid, sizeof (pid));
162 if (waitpid(pid, NULL, 0) >= 0) {
173 (void) kill(pid, script_signal);
287 pid_t pid;
313 if ((pid = fork()) < 0) {
320 if (pid == 0) {
334 /* get the script's pid */
337 (void) kill(pid, SIGKILL);
343 dsmp->dsm_script_helper_pid = pid;