Yet Another Robot Platform
Os.h File Reference
#include <yarp/os/api.h>
#include <cstddef>
+ 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.


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


typedef void(* yarp::os::YarpSignalHandler) (int)


enum  {


YarpSignalHandler yarp::os::signal (int signum, YarpSignalHandler sighandler)
 Portable wrapper for the signal() function. More...
void yarp::os::exit (int exit_code)
 Portable wrapper for the exit() function. More...
void yarp::os::abort (bool verbose=false)
 Portable wrapper for the abort() function. More...
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::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...
void yarp::os::gethostname (char *hostname, size_t size)
 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...
int yarp::os::fork (void)
 Portable wrapper for the fork() function. More...