ezmlmx 0.68
ezmlmx
Loading...
Searching...
No Matches
wrap_fork.c
Go to the documentation of this file.
1#include <unistd.h>
2#include "errtxt.h"
3#include "wrap.h"
4#include "idx.h"
5#include "logmsg.h"
6
7#define WHO "warp_fork"
8
14
15int wrap_fork(void)
16{
17 int child;
18 if ((child = fork()) == -1)
19 logmsg(WHO,111,FATAL,ERR_FORK);
20 return child;
21}
Error messages. If you translate these, I would urge you to keep the English version as well....
#define ERR_FORK
Definition errtxt.h:103
#define WHO
Definition author.c:1
int wrap_fork(void)
Definition wrap_fork.c:15
int child
Definition ezmlm-cgi.c:143
const char * logmsg(const char *dir, unsigned long num, unsigned long listno, unsigned long subs, int done)
Definition loginfo.c:32