YARP
Yet Another Robot Platform
Os.h File Reference
#include <yarp/os/api.h>
#include <cstddef>
#include <string>
+ Include dependency graph for Os.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 yarp
 The main, catch-all namespace for YARP.
 
 yarp::os
 An interface to the operating system, including Port based communication.
 

Functions

const char * yarp::os::getenv (const char *var)
 Portable wrapper for the getenv() function. More...
 
int yarp::os::getpid ()
 Portable wrapper for the getppid() function. More...
 
void yarp::os::gethostname (char *hostname, size_t size)
 Portable wrapper for the gethostname() function. More...
 
std::string yarp::os::gethostname ()
 Portable wrapper for the gethostname() function. More...
 
int yarp::os::mkdir (const char *p)
 Portable wrapper for the mkdir() function. More...
 
int yarp::os::mkdir_p (const char *p, int ignoreLevels=0)
 Create a directory and all parent directories needed. More...
 
int yarp::os::rmdir (const char *p)
 Portable wrapper for the rmdir() function. More...
 
int yarp::os::rename (const char *oldname, const char *newname)
 Portable wrapper for the rename() function. More...
 
int yarp::os::stat (const char *path)
 Portable wrapper for the stat() function. More...
 
char * yarp::os::getcwd (char *buf, size_t size)
 Portable wrapper for the getcwd() function. More...
 
void yarp::os::setEnergySavingModeState (bool enabled)
 Toggle the OS energy saving feature. More...
 
void yarp::os::setprogname (const char *progname)
 Portable wrapper for the setprogname() function. More...
 
void yarp::os::getprogname (char *progname, size_t size)
 Portable wrapper for the getprogname() function. More...
 
int yarp::os::fork ()
 Portable wrapper for the fork() function. More...