From 05ad06600b712a29bc99a65ae89f38d4d8f30371 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 13 Apr 2019 22:00:04 +0200 Subject: Add liberror_start and liberror_end MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- liberror_end.3 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 liberror_end.3 (limited to 'liberror_end.3') diff --git a/liberror_end.3 b/liberror_end.3 new file mode 100644 index 0000000..db36d56 --- /dev/null +++ b/liberror_end.3 @@ -0,0 +1,50 @@ +.TH LIBERROR_END 3 2019-04-13 liberror +.SH NAME +liberror_end \- restore the thread's error state +.SH SYNOPSIS +.nf +#include + +void liberror_end(const struct liberror_state *\fIstate\fP); +.fi +.PP +Link with +.IR \-lerror . +.SH DESCRIPTION +The +.BR liberror_end () +function restores the state saved and cleared +by the +.BR liberror_stasrt () +function. +.PP +Asynchronously called functions such as single +handlers shall call this function the last thing +they do before returning. +.SH RETURN VALUE +None. +.SH ERRORS +None. +.SH EXAMPLES +None. +.SH APPLICATION USAGE +None. +.SH RATIONALE +None. +.SH FUTURE DIRECTIONS +None. +.SH NOTES +None. +.SH SEE ALSO +.BR liberror (7), +.BR liberror.h (0), +.BR liberror_copy_error (3), +.BR liberror_free_error (3), +.BR liberror_get_error (3), +.BR liberror_print_bactrace (3), +.BR liberror_print_error (3), +.BR liberror_reset_error (3), +.BR liberror_save_backtrace (3), +.BR liberror_set_error (3), +.BR liberror_set_error_errno (3), +.BR liberror_start (3) -- cgit v1.2.3-70-g09d2