process.h File Reference

#include <wibble/exception.h>
#include <sys/types.h>

Include dependency graph for process.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  wibble
namespace  wibble::sys
namespace  wibble::sys::process

Functions

string wibble::sys::process::formatStatus (int status)
 Pretty-print the return value of a process into a string.
void wibble::sys::process::chdir (const std::string &dir)
 Change working directory.
std::string wibble::sys::process::getcwd ()
 Get the absolute path of the current working directory.
void wibble::sys::process::chroot (const std::string &dir)
 Change root directory.
mode_t wibble::sys::process::umask (mode_t mask)
 Change umask (always succeeds and returns the previous umask).
void wibble::sys::process::setPerms (const std::string &user)
 Set user and group permissions.
void wibble::sys::process::setPerms (const std::string &user, const std::string &group)
void wibble::sys::process::setPerms (uid_t user)
void wibble::sys::process::setPerms (uid_t user, gid_t group)
int wibble::sys::process::getCPUTimeLimit (int *max=0)
 Get current resource limits; store also maximum resource limits in max if nonzero.
int wibble::sys::process::getFileSizeLimit (int *max)
int wibble::sys::process::getDataMemoryLimit (int *max)
int wibble::sys::process::getChildrenLimit (int *max)
int wibble::sys::process::getOpenFilesLimit (int *max)
int wibble::sys::process::getCoreSizeLimit (int *max)
void wibble::sys::process::setCPUTimeLimit (int value)
 Set resource limits.
void wibble::sys::process::setFileSizeLimit (int value)
void wibble::sys::process::setDataMemoryLimit (int value)
void wibble::sys::process::setChildrenLimit (int value)
void wibble::sys::process::setOpenFilesLimit (int value)
void wibble::sys::process::setCoreSizeLimit (int value)
void wibble::sys::process::detachFromTTY ()
 Close stdin, stdout and stderr and detach from the tty.


Generated on Tue Jun 17 23:14:22 2008 for wibble by  doxygen 1.5.6