OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:wait6
(Results
1 - 6
of
6
) sorted by relevancy
/src/lib/libc/gen/
waitid.c
52
switch (
wait6
(idtype, id, &status, flags, NULL, info)) {
/src/tests/lib/libc/sys/
t_wait.c
52
"Test that
wait6
(2) returns EINVAL with 0 options");
60
ATF_REQUIRE(
wait6
(P_ALL, 0, &st, 0, &wru, &si) == -1
68
"Test that
wait6
(2) handled exiting process and code");
86
ATF_REQUIRE(
wait6
(P_PID, pid, &st, WEXITED, &wru, &si) == pid);
102
"Test that
wait6
(2) handled terminated process and code");
121
ATF_REQUIRE(
wait6
(P_PID, pid, &st, WEXITED, &wru, &si) == pid);
137
"Test that
wait6
(2) handled coredumped process and code");
157
ATF_REQUIRE(
wait6
(P_PID, pid, &st, WEXITED, &wru, &si) == pid);
174
"Test that
wait6
(2) handled stopped/continued process and code");
195
ATF_REQUIRE(
wait6
(P_PID, pid, &st, WSTOPPED, &wru, &si) == pid)
[
all
...]
t_wait_noproc.c
112
ATF_TC(
wait6
);
113
ATF_TC_HEAD(
wait6
, tc)
116
"Test that
wait6
(2) returns ECHILD for P_ALL and option %s",
120
ATF_TC_BODY(
wait6
, tc)
123
wait6
(P_ALL, 0, NULL,
304
"Test that
wait6
(2) returns ECHILD for P_ALL and option %s",
314
printf("Testing
wait6
(2) with options %x\n", o);
317
wait6
(P_ALL, 0, NULL, o | TWAIT_OPTION, NULL, NULL) == -1);
331
ATF_TP_ADD_TC(tp,
wait6
);
t_ptrace_wait.h
41
* -
wait6
(2)-like accepting idtype_t, id_t, struct wrusage, mandatory options
48
* In a common use-case wait4(2) and
wait6
(2)-like function can work the almost
50
*
wait6
(2) must specify P_PID for idtype to match wpid from wait4(2).
51
* To behave like wait4(2),
wait6
(2) the 'options' to wait must include
100
# define TWAIT_FNAME "
wait6
"
101
# define TWAIT_WAIT6TYPE(a,b,c,d,e,f)
wait6
((a),(b),(c),(d),(e),(f))
103
wait6
(P_PID,(a),(b),(c)|WEXITED|WTRAPPED,NULL,NULL)
111
* - TWAIT_GENERIC() (wait, wait2, waitpid, wait3, wait4,
wait6
)
113
* - TWAIT_WAIT6TYPE() (waitid,
wait6
)
118
* - TWAIT_HAVE_PID (wait2, waitpid, waitid, wait4,
wait6
)
[
all
...]
/src/sys/sys/
wait.h
97
* waitid/
wait6
.
210
pid_t
wait6
(idtype_t, id_t, int *, int, struct wrusage *, siginfo_t *);
/src/lib/libc/sys/
Makefile.inc
193
__wait450.S
wait6
.S write.S writev.S
405
MLINKS+=wait.2
wait6
.2 wait.2 waitid.2
Completed in 16 milliseconds
Indexes created Wed Oct 15 02:09:48 GMT 2025