D 2014-11-24T20:11:49.424 L Manual\sfor\slc_seterrstr P 8961f2f35768932993a63a9cb46a34358eec7122 U rkeene W 1311

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)

Z a5803ca7d103d6a57cf5533eb4ce627d