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/clearenv.3c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'usr/src/man/man3c/clearenv.3c') diff --git a/usr/src/man/man3c/clearenv.3c b/usr/src/man/man3c/clearenv.3c index aa32c3f7a9..16bd532489 100644 --- a/usr/src/man/man3c/clearenv.3c +++ b/usr/src/man/man3c/clearenv.3c @@ -26,10 +26,12 @@ .Sh DESCRIPTION The .Fn clearenv -function clears the contents of the environment. All environment variables in -the calling process are removed as though the function +function clears the contents of the environment. +All environment variables in the calling process are removed as though the +function .Xr unsetenv 3C -had been called on every environment variable. Until subsequent calls to +had been called on every environment variable. +Until subsequent calls to .Xr putenv 3C or .Xr setenv 3C @@ -44,10 +46,11 @@ returns .Sy 0 . Otherwise, it returns a non-zero value and sets .Sy errno -to indicate the error. At this time, no errors are defined for +to indicate the error. +At this time, no errors are defined for .Fn clearenv , -it will always succeed. Portable applications should always check the return -value of +it will always succeed. +Portable applications should always check the return value of .Fn clearenv . .Sh ERRORS No errors are defined. -- cgit v1.2.3