24 #ifndef LXCPP_PROCESS_HPP
25 #define LXCPP_PROCESS_HPP
29 #include <sys/types.h>
36 pid_t
clone(
int (*
function)(
void *),
40 void setns(
const pid_t pid,
const int namespaces);
46 void execve(
const std::vector<std::string>& argv);
50 #endif // LXCPP_PROCESS_HPP
int waitpid(const pid_t pid)
Definition: process.cpp:128
process handling routines
pid_t fork()
Definition: process.cpp:41
void setns(const pid_t pid, int requestedNamespaces)
Definition: process.cpp:74
void execve(const std::vector< std::string > &argv)
Definition: process.cpp:166
void unshare(const int ns)
Definition: process.cpp:157
pid_t clone(int(*function)(void *), void *args, const int flags)
Definition: process.cpp:53