// SPDX-License-Identifier: GPL-2.0-only #ifndef LINUX_WAITID_H #define LINUX_WAITID_H struct waitid_info { … }; struct wait_opts { … }; bool pid_child_should_wake(struct wait_opts *wo, struct task_struct *p); long __do_wait(struct wait_opts *wo); int kernel_waitid_prepare(struct wait_opts *wo, int which, pid_t upid, struct waitid_info *infop, int options, struct rusage *ru); #endif