shishi_error_set3
Api function
Usage
#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
-
A null-terminated character string holding a description, or NULL to clear the internal error string.
Overview
Sets the error description to the content of errstr. The string is copied into the Shishi internal structure, so you can deallocate any string passed to this function.
This function is mostly for Shishi's internal use, but if you develop an extension of Shishi, it may be useful to support the same error handling infrastructure.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.