YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
Namespaces
|
Functions
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
namespace
yarp
The main, catch-all namespace for YARP.
namespace
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.
int
yarp::os::getpid
()
Portable
wrapper for the getppid() function.
void
yarp::os::gethostname
(
char
*hostname,
size_t
size)
Portable
wrapper for the
gethostname()
function.
std::string
yarp::os::gethostname
()
Portable
wrapper for the
gethostname()
function.
int
yarp::os::mkdir
(
const
char
*
p
)
Portable
wrapper for the
mkdir()
function.
int
yarp::os::mkdir_p
(
const
char
*
p
,
int
ignoreLevels
=0)
Create a directory and all parent directories needed.
int
yarp::os::rmdir
(
const
char
*
p
)
Portable
wrapper for the
rmdir()
function.
int
yarp::os::rename
(
const
char
*
oldname
,
const
char
*
newname
)
Portable
wrapper for the
rename()
function.
int
yarp::os::stat
(
const
char
*path)
Portable
wrapper for the
stat()
function.
char
*
yarp::os::getcwd
(
char
*buf,
size_t
size)
Portable
wrapper for the
getcwd()
function.
void
yarp::os::setEnergySavingModeState
(
bool
enabled)
Toggle the OS energy saving feature.
void
yarp::os::setprogname
(
const
char
*
progname
)
Portable
wrapper for the
setprogname()
function.
void
yarp::os::getprogname
(
char
*
progname
,
size_t
size)
Portable
wrapper for the
getprogname()
function.
int
yarp::os::fork
()
Portable
wrapper for the
fork()
function.
YARP
3.11.100+20250323.9+gitd6ea616a8
src
libYARP_os
src
yarp
os
Os.h
Generated on Sun Mar 23 2025 02:39:22 for YARP by
1.9.8