summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/clearenv.3c
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2017-05-29 03:56:19 +0300
committerGordon Ross <gwr@nexenta.com>2017-06-07 11:12:34 -0400
commit72d3dbb9ab4481606cb93caca98ba3b3a8eb6ce2 (patch)
treeb1e1409d1dc0ac3c433224c0cde7c97d01e98d5c /usr/src/man/man3c/clearenv.3c
parentcb4d790db8fe85bce9f9647fe4e1bdc274c7af1c (diff)
downloadillumos-joyent-72d3dbb9ab4481606cb93caca98ba3b3a8eb6ce2.tar.gz
8300 fix man page issues found by mandoc 1.14.1
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/man/man3c/clearenv.3c')
-rw-r--r--usr/src/man/man3c/clearenv.3c15
1 files changed, 9 insertions, 6 deletions
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.