fehQlibs
27
Qlibs
Loading...
Searching...
No Matches
fehQlibs-27
src
wait.c
Go to the documentation of this file.
1
#include <sys/types.h>
2
#include <sys/wait.h>
3
#include "
logmsg.h
"
4
11
12
int
wait_nohang
(
int
*wstat)
13
{
14
return
waitpid(-1,wstat,WNOHANG);
15
}
16
17
int
wait_pid
(
int
*wstat,
int
pid)
18
{
19
int
r;
20
21
do
22
r = waitpid(pid,wstat,0);
23
while
((r == -1) && (errno == EINTR));
24
return
r;
25
}
logmsg.h
wait_pid
int wait_pid(int *wstat, int pid)
Definition
wait.c:17
wait_nohang
int wait_nohang(int *wstat)
Definition
wait.c:12
Generated on Tue May 27 2025 21:48:01 for fehQlibs by
1.13.2