DOKK / manpages / debian 10 / shishi-doc / shishi_error_set.3.en
shishi_error_set(3) shishi shishi_error_set(3)

shishi_error_set - API function

#include <shishi.h>

void shishi_error_set(Shishi * handle, const char * errstr);

shishi handle as allocated by shishi_init().
Zero terminated character array containing error description, or NULL to clear the error description string.

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.

Report bugs to <bug-shishi@gnu.org>.

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.

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.

1.0.2 shishi