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/getprogname.3c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'usr/src/man/man3c/getprogname.3c') 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 -- cgit v1.2.3