rcpputils  master
C++ API providing common utilities and data structures.
Namespaces | Functions
get_env.hpp File Reference
#include "rcutils/get_env.h"
#include <stdexcept>
#include <string>
#include "rcpputils/visibility_control.hpp"
Include dependency graph for get_env.hpp:

Go to the source code of this file.

Namespaces

 rcpputils
 

Functions

std::string rcpputils::get_env_var (const char *env_var)
 Retrieve the value of the given environment variable if it exists, or "". More...