fehQlibs
26
Qlibs
Loading...
Searching...
No Matches
fehQlibs-26
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
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
}
wait_pid
int wait_pid(int *wstat, int pid)
Definition:
wait.c:17
wait_nohang
int wait_nohang(int *wstat)
Definition:
wait.c:12
logmsg.h
Generated on Sat Nov 2 2024 13:01:06 for fehQlibs by
1.9.6