Function rcutils_is_readable_and_writable

Function Documentation

bool rcutils_is_readable_and_writable(const char *abs_path)

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

Parameters:

abs_path[in] Absolute path to check.

Returns:

true if the file is readable and writable, or

Returns:

false if abs_path is NULL

Returns:

false on failure.