19 #ifndef CORE_POSIX_FORK_H_ 20 #define CORE_POSIX_FORK_H_ 54 #endif // CORE_POSIX_FORK_H_ CORE_POSIX_DLL_PUBLIC ChildProcess vfork(const std::function< posix::exit::Status()> &main, const StandardStream &flags)
fork vforks a new process and executes the provided main function in the newly forked process...
#define CORE_POSIX_DLL_PUBLIC
Status
The Status enum wrap's the posix exit status.
StandardStream
The StandardStream enum wraps the POSIX standard streams.
CORE_POSIX_DLL_PUBLIC ChildProcess fork(const std::function< posix::exit::Status()> &main, const StandardStream &flags)
fork forks a new process and executes the provided main function in the newly forked process...
int main(int argc, char *argv[])