shishi_error_set(3)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8–11
  6. 12–13

Reporting bugs

Report bugs to <[email protected]>. GNU Shishi home page: http://www.gnu.org/software/shishi/ General help using GNU software: http://www.gnu.org/gethelp/

From shishi-doc 1.0.3-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.