aboutsummaryrefslogtreecommitdiffstats
path: root/liberror.7
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-09 18:41:42 +0200
committerMattias Andrée <maandree@kth.se>2020-06-09 18:45:24 +0200
commit6653b2827cc8701360c6650865d5d2f7e8fbae88 (patch)
tree3b83ce5afee7e716b34a1f2556c9eadbd925acc6 /liberror.7
parentAdd liberror_pop_error and liberror_set_error_existing (diff)
downloadliberror-6653b2827cc8701360c6650865d5d2f7e8fbae88.tar.gz
liberror-6653b2827cc8701360c6650865d5d2f7e8fbae88.tar.bz2
liberror-6653b2827cc8701360c6650865d5d2f7e8fbae88.tar.xz
Update liberror.7, liberror.h.0, and README
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'liberror.7')
-rw-r--r--liberror.79
1 files changed, 8 insertions, 1 deletions
diff --git a/liberror.7 b/liberror.7
index be78c28..1464ac7 100644
--- a/liberror.7
+++ b/liberror.7
@@ -1,4 +1,4 @@
-.TH LIBERROR 7 2019-04-13 liberror
+.TH LIBERROR 7 2020-06-09 liberror
.SH NAME
liberror \- single interface for custom and standard errors
.SH SYNOPSIS
@@ -43,6 +43,13 @@ function for
.I errno
errors.
.TP
+.BR liberror_set_error_existing(3)
+Set error for the calling thread to a saved error.
+.TP
+.BR liberror_pop_error(3)
+Set error for the calling thread to the current
+error's cause.
+.TP
.BR liberror_reset_error (3)
Remove error for the calling thread, needed because the
.BR liberror_set_error (3)