aboutsummaryrefslogtreecommitdiff
path: root/lib/libc_r/man/pthread_once.3
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-03-02 09:14:21 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-03-02 09:14:21 +0000
commitc6ff3a1bf74d96278726113478b2c66884aab584 (patch)
tree6fdc69d4aab26ec98c8573dbb7c07e9edbb0900a /lib/libc_r/man/pthread_once.3
parent55609eba05d32edc56e3f69740099d4d9b095cef (diff)
Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
Notes
Notes: svn path=/head/; revision=57686
Diffstat (limited to 'lib/libc_r/man/pthread_once.3')
-rw-r--r--lib/libc_r/man/pthread_once.312
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc_r/man/pthread_once.3 b/lib/libc_r/man/pthread_once.3
index 2dcea493cb9c..8cd894abbd19 100644
--- a/lib/libc_r/man/pthread_once.3
+++ b/lib/libc_r/man/pthread_once.3
@@ -51,7 +51,8 @@ by any thread in a process, with a given
.Fa once_control ,
will call the
.Fn init_routine
-with no arguments. Subsequent calls to
+with no arguments.
+Subsequent calls to
.Fn pthread_once
with the same
.Fa once_control
@@ -61,14 +62,16 @@ On return from
.Fn pthread_once ,
it is guaranteed that
.Fn init_routine
-has completed. The
+has completed.
+The
.Fa once_control
parameter is used to determine whether the associated initialization
routine has been called.
.Pp
The function
.Fn pthread_once
-is not a cancellation point. However, if
+is not a cancellation point.
+However, if
.Fn init_routine
is a cancellation point and is cancelled, the effect on
.Fa once_control is as if
@@ -90,7 +93,8 @@ has automatic storage duration or is not initialized by
.Sh RETURN VALUES
If successful, the
.Fn pthread_once
-function will return zero. Otherwise an error number will be returned to
+function will return zero.
+Otherwise an error number will be returned to
indicate the error.
.Sh ERRORS
None.