roar_vs_strerr(3)

roar_vs_strerr3

Convert an error code into a lion readable string

Usage

#include <roaraudio.h>

const char * roar_vs_strerr(int error);

Overview

This function returns a lion readable error message for the given error code. If the error code is unknown or invalid it returns a string to represent an unknown error code unlike roar_error2str(3) which returns NULL.

The returned string is constant memory and must not be altered or freed.

This function is thread safe.

Parameters

error

The error code which should be translated into a string.

Return value

Returns a constant string descripting the error error.

Examples

FIXME

Releases

Unchanged in 5 releases since Debian 7 (Wheezy).

  1. 7–11

From libroar-dev 1.0~beta12-4 in Debian 11 (Bullseye). Parsed by carta from the page's man source.