summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/getprogname.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/getprogname.3c
parentcb4d790db8fe85bce9f9647fe4e1bdc274c7af1c (diff)
downloadillumos-gate-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/getprogname.3c')
-rw-r--r--usr/src/man/man3c/getprogname.3c18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/src/man/man3c/getprogname.3c b/usr/src/man/man3c/getprogname.3c
index 5bc48e6d69..3825dd91d9 100644
--- a/usr/src/man/man3c/getprogname.3c
+++ b/usr/src/man/man3c/getprogname.3c
@@ -31,27 +31,27 @@
.Sh DESCRIPTION
The
.Fn getprogname
-function is used to obtain the program name. The program name is set at
-program start-up, before
+function is used to obtain the program name.
+The program name is set at program start-up, before
.Fn main
-is called. Note, other operating systems, do not guarantee that a
-program name has been set at start up time and therefore may return a
-null pointer if
+is called.
+Note, other operating systems, do not guarantee that a program name has been set
+at start up time and therefore may return a null pointer if
.Fn setprogname
has not been called.
.Lp
The
.Fn setprogname
-function is used to change the program name to another value. The
-argument
+function is used to change the program name to another value.
+The argument
.Fa progname
must contain a null terminatd character string, whose last component
which will become the new program name.
.Sh RETURN VALUES
The
.Fn getprogname
-function always returns the current program name. The program name is
-always set, it will not return a null pointer.
+function always returns the current program name.
+The program name is always set, it will not return a null pointer.
.Sh INTERFACE STABILITY
.Sy Committed
.Sh MT-LEVEL