aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-07-03 17:19:14 +0200
committerMattias Andrée <maandree@kth.se>2023-07-03 17:19:14 +0200
commited64615aeda4ff9f7eedd095eac92f1e05116de7 (patch)
tree9cc3dd4d9a75e535ba8308b4fa470f8fe5f200f9
parentImprove makefile (diff)
downloadliberror-4b4289c09e2db0d2cb5e819f4e67b4f1f7f14bf3.tar.gz
liberror-4b4289c09e2db0d2cb5e819f4e67b4f1f7f14bf3.tar.bz2
liberror-4b4289c09e2db0d2cb5e819f4e67b4f1f7f14bf3.tar.xz
Minor man page fixes1.1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--liberror.74
-rw-r--r--liberror_get_error.34
2 files changed, 4 insertions, 4 deletions
diff --git a/liberror.7 b/liberror.7
index 1464ac7..964fe94 100644
--- a/liberror.7
+++ b/liberror.7
@@ -43,10 +43,10 @@ function for
.I errno
errors.
.TP
-.BR liberror_set_error_existing(3)
+.BR liberror_set_error_existing (3)
Set error for the calling thread to a saved error.
.TP
-.BR liberror_pop_error(3)
+.BR liberror_pop_error (3)
Set error for the calling thread to the current
error's cause.
.TP
diff --git a/liberror_get_error.3 b/liberror_get_error.3
index 8059ada..e4f2761 100644
--- a/liberror_get_error.3
+++ b/liberror_get_error.3
@@ -13,7 +13,7 @@ Link with
.SH DESCRIPTION
The
.BR liberror_get_error ()
-function returns a pointer to the threads current
+function returns a pointer to the thread's current
error. If the thread does not have an error assigned,
.I NULL
is returned.
@@ -26,7 +26,7 @@ The
.BR liberror_get_error ()
returns the error assigned to the thread, or
.I NULL
-if none is assigned to the threa. Failure is impossible.
+if none is assigned to the thread. Failure is impossible.
.PP
Note, this contents of this error will change when a new
error is assigned to the thread.