ezmlmx
0.68
ezmlmx
Loading...
Searching...
No Matches
ezmlmx-0.68
src
wrap_waitpid.c
Go to the documentation of this file.
1
#include "wait.h"
2
#include "
errtxt.h
"
3
#include "
wrap.h
"
4
#include "
idx.h
"
5
#include "logmsg.h"
6
7
#define WHO "wrap_waitpid"
8
14
15
int
wrap_waitpid
(
int
pid
)
16
{
17
int
wstat
;
18
wait_pid(&
wstat
,
pid
);
19
if
(wait_crashed(
wstat
))
20
logmsg
(
WHO
,111,FATAL,
ERR_CHILD_CRASHED
);
21
return
wait_exitcode(
wstat
);
22
}
idx.h
wrap.h
errtxt.h
Error messages. If you translate these, I would urge you to keep the English version as well....
ERR_CHILD_CRASHED
#define ERR_CHILD_CRASHED
Definition
errtxt.h:105
WHO
#define WHO
Definition
author.c:1
wstat
int wstat
Definition
ezmlm-cgi.c:143
wrap_waitpid
int wrap_waitpid(int pid)
Definition
wrap_waitpid.c:15
pid
int pid
Definition
ezmlm-store.c:66
logmsg
const char * logmsg(const char *dir, unsigned long num, unsigned long listno, unsigned long subs, int done)
Definition
loginfo.c:32
Generated on
for ezmlmx by
1.14.0