Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv05.c80 pid_t c_pid; variable
101 if ((c_pid = FORK_OR_VFORK()) == -1) in main()
104 if (c_pid == 0) { in main()
117 TST_PROCESS_STATE_WAIT(cleanup, c_pid, 'S'); in main()
120 SAFE_KILL(cleanup, c_pid, SIGHUP); in main()
122 waitpid(c_pid, NULL, 0); in main()
Dmsgrcv06.c81 pid_t c_pid; variable
117 if ((c_pid = FORK_OR_VFORK()) == -1) { in main()
121 if (c_pid == 0) { /* child */ in main()
135 TST_PROCESS_STATE_WAIT(cleanup, c_pid, 'S'); in main()
140 waitpid(c_pid, NULL, 0); in main()
Dmsgrcv01.c77 pid_t c_pid; variable
103 if ((c_pid = FORK_OR_VFORK()) == -1) { in main()
107 if (c_pid == 0) { /* child */ in main()
/external/ltp/testcases/kernel/syscalls/getsid/
Dgetsid01.c76 pid_t pid, c_pid, c_sid; in main() local
106 if ((c_pid = getpid()) == -1) { in main()
/external/bcc/src/python/bcc/
D__init__.py720 c_pid = 0 if pid == -1 else pid
723 addr or 0x0, c_pid,