NAME¶
shishi_error_set - API function
SYNOPSIS¶
#include <shishi.h>
void shishi_error_set(Shishi * handle, const char *
errstr);
ARGUMENTS¶
- Shishi * handle
- shishi handle as allocated by shishi_init().
- const char * errstr
- Zero terminated character array containing error
description, or NULL to clear the error description string.
DESCRIPTION¶
Set the detailed error information string to specified string. The string is
copied into the Shishi internal structure, so you can deallocate the string
passed to this function after the call. This function is mostly for Shishi
internal use, but if you develop an extension of Shishi, it may be useful to
use the same error handling infrastructure.
REPORTING BUGS¶
Report bugs to <bug-shishi@gnu.org>.
COPYRIGHT¶
Copyright © 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are
permitted in any medium without royalty provided the copyright notice and this
notice are preserved.
SEE ALSO¶
The full documentation for
shishi is maintained as a Texinfo manual. If
the
info and
shishi programs are properly installed at your
site, the command
- info shishi
should give you access to the complete manual.