nixd
Loading...
Searching...
No Matches
nixd
include
nixd
Support
ForkPiped.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
nixd
{
4
5
/// \brief fork this process and create some pipes connected to the new process.
6
///
7
/// stdin, stdout, stderr in the new process will be closed, and these fds could
8
/// be used to communicate with it.
9
///
10
/// \returns pid of child process, in parent.
11
/// \returns 0 in child.
12
int
forkPiped
(
int
&In,
int
&Out,
int
&Err);
13
14
}
// namespace nixd
nixd
Definition
CommandLine/Configuration.h:9
nixd::forkPiped
int forkPiped(int &In, int &Out, int &Err)
fork this process and create some pipes connected to the new process.
Definition
ForkPiped.cpp:8
Generated by
1.12.0