rcutils  master
C API providing common utilities and data structures.
Functions
get_env.h File Reference
#include "rcutils/macros.h"
#include "rcutils/visibility_control.h"
Include dependency graph for get_env.h:

Go to the source code of this file.

Functions

const char * rcutils_get_env (const char *env_name, const char **env_value)
 Retrieve the value of the given environment variable if it exists, or "". More...
 

Function Documentation

◆ rcutils_get_env()

const char* rcutils_get_env ( const char *  env_name,
const char **  env_value 
)

Retrieve the value of the given environment variable if it exists, or "".