Function rcutils_get_cwd
Defined in File filesystem.h
Function Documentation
-
bool rcutils_get_cwd(char *buffer, size_t max_length)
Return current working directory.
- Parameters:
buffer – [in] Allocated string to store current directory path to
max_length – [in] maximum length to be stored in buffer
- Returns:
trueif success, or- Returns:
falseif buffer is NULL, or- Returns:
falseon failure.