From 72d3dbb9ab4481606cb93caca98ba3b3a8eb6ce2 Mon Sep 17 00:00:00 2001 From: Yuri Pankov Date: Mon, 29 May 2017 03:56:19 +0300 Subject: 8300 fix man page issues found by mandoc 1.14.1 Reviewed by: Robert Mustacchi Reviewed by: Toomas Soome Approved by: Gordon Ross --- usr/src/man/man3c/call_once.3c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'usr/src/man/man3c/call_once.3c') diff --git a/usr/src/man/man3c/call_once.3c b/usr/src/man/man3c/call_once.3c index 5cc1ba56a9..80cf0860e2 100644 --- a/usr/src/man/man3c/call_once.3c +++ b/usr/src/man/man3c/call_once.3c @@ -29,7 +29,8 @@ The .Fn call_once function is used to ensure that an operation occurs only once, even -across multiple threads. Each instance of a properly initialized +across multiple threads. +Each instance of a properly initialized .Ft once_flag can be pased to the .Ft call_once @@ -38,10 +39,11 @@ specified function, .Fa func . This ensures that the argument .Fa func -is called only once. Note, the argument +is called only once. +Note, the argument .Fa once -is the only thing used as a point of synchronization. If multiple -callers use the same pointer for +is the only thing used as a point of synchronization. +If multiple callers use the same pointer for .Fa once , but use different values for .Fa func , @@ -73,7 +75,8 @@ had not completed successfully. .Sh RETURN VALUES The .Fn call_once -function does not return any values. Upon its completion, it is guaranteed that +function does not return any values. +Upon its completion, it is guaranteed that .Fa func will have been called at most once across the liftime of the .Fa once -- cgit v1.2.3