Function rcutils_get_file_size

Function Documentation

size_t rcutils_get_file_size(const char *file_path)

Calculate the size of the specifed file.

Parameters:

file_path[in] The path of the file to obtain its size of.

Returns:

The size of the file in bytes.