Lines Matching defs:pid
102 pid_t pid;
145 if ((pid = fork()) == -1) {
154 } else if (pid == 0) {
216 if (waitpid(pid, &status, 0) != pid) {
333 pid_t pid;
342 if ((pid = fork()) == -1) {
350 } else if (pid == 0) {
485 if (waitpid(pid, &status, 0) != pid) {
569 long pid;
583 if (cmd_exec("/usr/lib/ck-get-x11-server-pid", output,
585 if (sscanf(output, "%ld", &pid) == 1) {
586 dsession_mgr_table[i].server_pid = (pid_t) pid;
589 printf("server pid %ld set for display :%d\n",
795 fprintf(stderr, "set server pid failed for :%d\n",
826 fprintf(stderr, "set server pid failed for :%d\n",