Searched refs:stat_loc (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.c33 waitpid(int pid, int *stat_loc, int options) argument
47 if (stat_loc)
48 *stat_loc = (int) statusp.w_status;
/freebsd-13-stable/contrib/kyua/utils/process/
H A Dstatus.cpp52 /// \param stat_loc The status value returnd by waitpid(2).
53 process::status::status(const int dead_pid_, int stat_loc) : argument
55 _exited(WIFEXITED(stat_loc) ?
56 optional< int >(WEXITSTATUS(stat_loc)) : none),
57 _signaled(WIFSIGNALED(stat_loc) ?
59 std::make_pair(WTERMSIG(stat_loc), WCOREDUMP(stat_loc))) :
H A Doperations.cpp78 int stat_loc; local
79 const pid_t pid = ::wait(&stat_loc);
85 return process::status(pid, stat_loc);
100 int stat_loc; local
101 if (process::detail::syscall_waitpid(pid, &stat_loc, 0) == -1) {
106 return process::status(pid, stat_loc);
H A Dstatus_test.cpp84 int stat_loc; local
85 ATF_REQUIRE(::waitpid(pid, &stat_loc, 0) != -1);
86 const status s = status(pid, stat_loc);
/freebsd-13-stable/usr.sbin/cron/cron/
H A Dpopen.c234 WAIT_T stat_loc; local
245 while ((pid = wait(&stat_loc)) != pids[fdes] && pid != -1)
249 return (pid == -1 ? -1 : WEXITSTATUS(stat_loc));

Completed in 119 milliseconds