Diffstat (limited to 'lib/libc/sys/thr_exit.2')
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc/sys/thr_exit.2 b/lib/libc/sys/thr_exit.2
index 0804219c8e97..70a07f88ab6d 100644
@@ -47,18 +47,20 @@ system call terminates the current kernel-scheduled thread.
-argument is not NULL, the location pointed to by the argument is
-updated with an arbitrary non-zero value, and
+argument is not
+.Dv NULL ,
+the location pointed to by the argument is
+updated with an arbitrary non-zero value, and an
.Xr _umtx_op 2
operation is consequently performed on the location.
-Attempts to terminate last thread in the process are silently ignored.
+Attempts to terminate the last thread in the process are silently ignored.
.Xr _exit 2
syscall to terminate the process.
.Sh RETURN VALUES
-The function does not return any values.
+The function does not return a value.
A return from the function indicates that the calling thread was the
last one in the process.
.Sh SEE ALSO
@@ -72,9 +74,9 @@ last one in the process.
-system call is non-standard and is used by the
+system call is non-standard and is used by
+.Xr pthread 3