Function rcutils_is_readable

Function Documentation

bool rcutils_is_readable(const char *abs_path)

Check if the provided path points to a file/folder readable by current user.

Parameters:

abs_path[in] Absolute path to check.

Returns:

true if the file is readable, or

Returns:

false if abs_path is NULL, or

Returns:

false on failure.