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-ed64615aeda4ff9f7eedd095eac92f1e05116de7.tar.gz
liberror-ed64615aeda4ff9f7eedd095eac92f1e05116de7.tar.bz2
liberror-ed64615aeda4ff9f7eedd095eac92f1e05116de7.tar.xz
Minor man page fixes1.1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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.