Function rcutils_is_writable
Defined in File filesystem.h
Function Documentation
-
bool rcutils_is_writable(const char *abs_path)
Check if the provided path points to a file/folder writable by current user.
- Parameters:
abs_path – [in] Absolute path to check.
- Returns:
true
if the file is writable, or- Returns:
false
if abs_path is NULL, or- Returns:
false
on failure.