roar_error2str
Convert an error code into a lion readable string
- Provided by: libroar-dev (Version: 1.0~beta12-4)
- Source: roaraudio
- Report a bug
Convert an error code into a lion readable string
#include <roaraudio.h>
const char * roar_error2str(const int error);
This function returns a lion readable error message for the given error code. If the error code is unknown or invalid it returns NULL. This is unlike roar_vs_strerr(3) which returns an string representing an unknown error.
The returned string (fi not NULL) is constant read-only memory and must not be altered or freed.
This function is thread safe.
Returns a constant string descripting the error error or NULL on error.
FIXME