Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Namespaces | Functions
System.hpp File Reference
#include <toolbox/sys/Error.hpp>
#include <unistd.h>
Include dependency graph for System.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  toolbox
 
namespace  toolbox::os
 

Functions

void toolbox::os::chdir (const char *path, std::error_code &ec) noexcept
 Change working directory.
 
void toolbox::os::chdir (const char *path)
 Change working directory.
 
pid_t toolbox::os::fork (std::error_code &ec) noexcept
 Create a child process.
 
pid_t toolbox::os::fork ()
 Create a child process.
 
pid_t toolbox::os::setsid (std::error_code &ec) noexcept
 Creates a session and sets the process group ID.
 
pid_t toolbox::os::setsid ()
 Creates a session and sets the process group ID.