using shm_type = intAlias for shared memory ID type.
using pid_type = ::pid_tAlias for pid_t;.
using siginfo_type = ::siginfo_tAlias for signinfo_t;.
enum signal: signal_typeProcess signals.
enum wait_flags: intFlags used by waitid(2) system call.
template <class Ch, class Tr = std::char_traits<Ch>> class sys::basic_argbufStream buffer for command line arguments.
class sys::argstream
Output stream of command line arguments.
class sys::processSystem process with std::thread interface.
class sys::process_groupA group of processes.
class sys::process_semaphoreProcess semaphore. The semaphore is defined as either posix_semaphore or sysv_semaphore.
class sys::sysv_semaphoreSemaphore, implemented using System V system calls. Suitable for both processes and threads.
class sys::posix_semaphoreSemaphore, implemented using POSIX system calls. Suitable for both processes and threads.
template <class T> class sys::shared_memory_segment
A container that stores its elements in shared memory.
template <class Ch, class Tr = std::char_traits<Ch>> class sys::basic_shmembuf
Shared memory stream buffer with synchronisation via process_semaphore.
class sys::signal_setSignal set.
class sys::signal_actionSignal callback.
class sys::signal_guardBlocks/unblocks specified signals upon creation/destruction.
class sys::thread_semaphoreThread semaphore. The semaphore is defined as either posix_semaphore, sysv_semaphore or std::condition_variable_any.
struct sys::process_statusA process_status object that tells how the process was terminated. Wraps siginfo_type.
unblock_signals(const signal_set & signals) -> void
Unblock signals for the current process.
block_signals(const signal_set & signals) -> void
Block signals for the current process.
default_action(signal s) -> voidUse default action for the specified signal.
ignore_signal(signal s) -> voidIgnore specified signal. By default any signal for which callback function is not set may kill the process. This routine allows to ignore specified signals.
bind_signal(signal sig, const signal_action & action) -> voidSet signal callback function.
operator<<(std::ostream & out, const signal rhs) -> std::ostream &Output signal name.
set_identity(uid_type uid, gid_type gid) -> void
Set both UID and GID of the current process.
execute_command(const argstream & args, const argstream & env) -> void
Execute child process with arguments argv and environment envp.
argv[0].
PATH environment variable to search for the executable.
execute_command(const argstream & args) -> void
Execute child process with arguments args and calling process environment.
argv[0].
PATH environment variable to search for the executable.
execute_command(char *const argv) -> void
Execute child process with arguments argv and calling process environment.
argv[0].
PATH environment variable to search for the executable.
execute_command(char *const argv, char *const envp) -> void
Execute child process with arguments argv and environment envp.
argv[0].
PATH environment variable to search for the executable.
execute(const argstream & args) -> void
Execute child process with arguments args and calling process environment.
PATH.
execute(char *const argv) -> void
Execute child process with arguments argv and calling process environment.
PATH.
execute(const argstream & args, const argstream & env) -> void
Execute child process with arguments args and environment env.
PATH.
execute(char *const argv, char *const envp) -> void
Execute child process with arguments argv and environment envp.
PATH.