#include <cat/cat.h>
int catear_getdata(catear_ear *ep, const char *var, char **value);
The function returns the length of the UAR VAR
value or an error code indicating the type of error. If successful, the value is allocated and must be freed by the caller.