14 /* Application-specific. */
17 #include <master_proto.h>
19 int master_flow_pipe
[2];
21 /* master_flow_init - initialize the flow control channel */
23 void master_flow_init(void)
25 const char *myname
= "master_flow_init";
27 if (pipe(master_flow_pipe
) < 0)
28 msg_fatal("%s: pipe: %m", myname
);
30 non_blocking(master_flow_pipe
[0], NON_BLOCKING
);
31 non_blocking(master_flow_pipe
[1], NON_BLOCKING
);
33 close_on_exec(master_flow_pipe
[0], CLOSE_ON_EXEC
);
34 close_on_exec(master_flow_pipe
[1], CLOSE_ON_EXEC
);