NAME

catear_getdata - extract a named value from a UAR

SYNOPSIS

#include <cat/cat.h>

int catear_getdata(catear_ear *ep, const char *var, char **value);

DESCRIPTION

This function extracts a named value from a handle to UARs. ep is the open handle, var is the name of the variable, and value is a pointer to the result.

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.

SEE ALSO

catpac