Lines Matching defs:pid
55 pid_t pid;
57 r = parse_pid("100", &pid);
59 assert_se(pid == 100);
61 r = parse_pid("0x7FFFFFFF", &pid);
63 assert_se(pid == 2147483647);
65 pid = 65; /* pid is left unchanged on ERANGE. Set to known arbitrary value. */
66 r = parse_pid("0", &pid);
68 assert_se(pid == 65);
70 pid = 65; /* pid is left unchanged on ERANGE. Set to known arbitrary value. */
71 r = parse_pid("-100", &pid);
73 assert_se(pid == 65);
75 pid = 65; /* pid is left unchanged on ERANGE. Set to known arbitrary value. */
76 r = parse_pid("0xFFFFFFFFFFFFFFFFF", &pid);
78 assert_se(pid == 65);
80 r = parse_pid("junk", &pid);