Lines Matching defs:watcher
141 pid_t child, parent, watcher, wpid;
150 * vfork(2) might clobber watcher, this means that it's safer and
161 watcher = fork();
162 ATF_REQUIRE(watcher != 1);
163 if (watcher == 0) {
165 watcher = fork();
166 ASSERT_NEQ(watcher, -1);
167 if (watcher != 0)
181 wpid = waitpid(watcher, &status, 0);
183 ATF_REQUIRE_EQ(wpid, watcher);