1: .TH LC_SETERRSTR 3 "25 Oct 04" "@PACKAGE_STRING@" 2: .SH NAME 3: lc_seterrstr \- Set an error message from a callback. 4: 5: .SH SYNOPSIS 6: .B #include <libconfig.h> 7: .sp 8: .BI "void lc_seterrstr(const char *" errstr ");" 9: 10: .SH DESCRIPTION 11: The 12: .BR lc_seterrstr (3) 13: function sets a human readable error message to be returned by 14: .BR lc_geterrstr (3) 15: function when an error is returned from a callback function. The value is ignored if the error is not related to a callback. 16: 17: .SH "SEE ALSO" 18: .BR libconfig (3), 19: .BR lc_register_var (3), 20: .BR lc_register_callback (3), 21: .BR lc_geterrno (3), 22: .BR lc_geterrstr (3), 23: .BR lc_handle_type (3), 24: .BR lc_process (3), 25: .BR lc_process_file (3), 26: .BR lc_cleanup (3) |