YARP  2.3.70.1
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.

Namespaces

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

Typedefs

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

Enumerations

enum  {
  yarp::os::YARP_SIGTERM,
  yarp::os::YARP_SIGINT
}
 

Functions

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...