.
D 2014-11-24T20:11:49.424
L Manual\sfor\slc_seterrstr
P 8961f2f35768932993a63a9cb46a34358eec7122
U rkeene
W 1311
<H2>NAME</H2>
lc_seterrstr - Set an error message from a callback.
<P>
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>#include <<A HREF="artifact/7c61a9805e664fde7943807af8d5e164e7cebdb6">libconfig.h</A>></B>
<P>
<B>void lc_seterrstr(const char *</B><I>errstr</I><B>);</B>
<P>
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
The
<B><A HREF="wiki/Manual for lc_seterrstr">lc_seterrstr</A></B>(3)
function sets a human readable error message to be returned by
<B><A HREF="wiki/Manual for lc_geterrstr">lc_geterrstr</A></B>(3)
function when an error is returned from a callback function. The value is ignored if the error is not related to a callback.
<P>
<A NAME="lbAE"> </A>
<H2>SEE ALSO</H2>
<B><A HREF="wiki/Manual">libconfig</A></B>(3),
<B><A HREF="wiki/Manual for lc_register_var">lc_register_var</A></B>(3),
<B><A HREF="wiki/Manual for lc_register_callback">lc_register_callback</A></B>(3),
<B><A HREF="wiki/Manual for lc_geterrno">lc_geterrno</A></B>(3),
<B><A HREF="wiki/Manual for lc_geterrstr">lc_geterrstr</A></B>(3),
<B><A HREF="wiki/Manual for lc_handle_type">lc_handle_type</A></B>(3),
<B><A HREF="wiki/Manual for lc_process">lc_process</A></B>(3),
<B><A HREF="wiki/Manual for lc_process_file">lc_process_file</A></B>(3),
<B><A HREF="wiki/Manual for lc_cleanup">lc_cleanup</A></B>(3)
<P>
Z a5803ca7d103d6a57cf5533eb4ce627d