Postfix3.3.1
master_flow.c
[詳解]
1 /* System library. */
2 
3 #include <sys_defs.h>
4 #include <unistd.h>
5 #include <stdlib.h>
6 
7 /* Utility library. */
8 
9 #include <msg.h>
10 #include <iostuff.h>
11 
12 /* Application-specific. */
13 
14 #include <master.h>
15 #include <master_proto.h>
16 
18 
19 /* master_flow_init - initialize the flow control channel */
20 
21 void master_flow_init(void)
22 {
23  const char *myname = "master_flow_init";
24 
25  if (pipe(master_flow_pipe) < 0)
26  msg_fatal("%s: pipe: %m", myname);
27 
30 
33 }
int master_flow_pipe[2]
Definition: master_flow.c:17
NORETURN msg_fatal(const char *fmt,...)
Definition: msg.c:249
#define NON_BLOCKING
Definition: iostuff.h:49
int non_blocking(int, int)
Definition: non_blocking.c:55
void master_flow_init(void)
Definition: master_flow.c:21
#define CLOSE_ON_EXEC
Definition: iostuff.h:51
int close_on_exec(int fd, int on)
Definition: close_on_exec.c:49