From 6653b2827cc8701360c6650865d5d2f7e8fbae88 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 9 Jun 2020 18:41:42 +0200 Subject: Update liberror.7, liberror.h.0, and README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'README') diff --git a/README b/README index 3395d2f..9b14e0d 100644 --- a/README +++ b/README @@ -13,18 +13,25 @@ together with liberror-backtrace, backtraces. The important functions are: liberror_get_error - Get error for the calling thread + Get error for the calling thread. liberror_set_error - Set error for the calling thread + Set error for the calling thread. liberror_set_error_errno - Wrapper for liberror_set_error for errno errors + Wrapper for liberror_set_error for errno errors. + + liberror_set_error_existing + Set error for the calling thread to a saved error. + + liberror_pop_error + Set error for the calling thread to the + current error's cause. liberror_reset_error Remove error for the calling thread, needed because `liberror_set_error` otherwise stores - the error as the cause of the new error + the error as the cause of the new error. liberror_print_error Print the error for the calling thread, include @@ -33,7 +40,7 @@ The important functions are: the error for the calling thread. liberror_start - Shall be called when entering a signal handler + Shall be called when entering a signal handler. liberror_end - Shall be called when a signal handler exits + Shall be called when a signal handler exits. -- cgit v1.2.3-70-g09d2