18#include "wvscatterhash.h"
21DeclareWvScatterTable(
int);
22typedef wv::function<void(pid_t)> WvForkCallback;
53extern pid_t
wvfork(
int dontclose1 = -1,
int dontclose2 = -1);
54extern pid_t
wvfork(intTable &dontclose );
pid_t wvfork_start(int *waitfd)
wvfork_start is just like fork, except that it will block the parent until the child process closes t...
pid_t wvfork(int dontclose1=-1, int dontclose2=-1)
wvfork() just runs fork(), but it closes all file descriptors that are flagged close-on-exec,...
void add_wvfork_callback(WvForkCallback cb)
Register a callback to be called during wvfork.