ezmlmx 0.68
ezmlmx
Loading...
Searching...
No Matches
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
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}
Error messages. If you translate these, I would urge you to keep the English version as well....
#define ERR_CHILD_CRASHED
Definition errtxt.h:105
#define WHO
Definition author.c:1
int wstat
Definition ezmlm-cgi.c:143
int wrap_waitpid(int pid)
int pid
Definition ezmlm-store.c:66
const char * logmsg(const char *dir, unsigned long num, unsigned long listno, unsigned long subs, int done)
Definition loginfo.c:32