Manual for lc_seterrstr

NAME

lc_seterrstr - Set an error message from a callback.

 

SYNOPSIS

#include <libconfig.h>

void lc_seterrstr(const char *errstr);

 

DESCRIPTION

The lc_seterrstr(3) function sets a human readable error message to be returned by lc_geterrstr(3) function when an error is returned from a callback function. The value is ignored if the error is not related to a callback.

 

SEE ALSO

libconfig(3), lc_register_var(3), lc_register_callback(3), lc_geterrno(3), lc_geterrstr(3), lc_handle_type(3), lc_process(3), lc_process_file(3), lc_cleanup(3)