From: schwarze Date: Tue, 5 May 2015 14:37:20 +0000 (+0000) Subject: Make argument name consistent and use .Fn rather than .Nm in section 3. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4f07dcdab577dd86ba082203c8ba14e21e60d733;p=openbsd Make argument name consistent and use .Fn rather than .Nm in section 3. Patch from . --- diff --git a/lib/libc/gen/getprogname.3 b/lib/libc/gen/getprogname.3 index d4ade82a186..58e85b877cf 100644 --- a/lib/libc/gen/getprogname.3 +++ b/lib/libc/gen/getprogname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getprogname.3,v 1.4 2013/07/31 16:43:27 deraadt Exp $ +.\" $OpenBSD: getprogname.3,v 1.5 2015/05/05 14:37:20 schwarze Exp $ .\" .\" Copyright (c) 2001 Christopher G. Demetriou .\" All rights reserved. @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 31 2013 $ +.Dd $Mdocdate: May 5 2015 $ .Dt GETPROGNAME 3 .Os .Sh NAME @@ -55,7 +55,7 @@ or other diagnostic output. The .Fn setprogname function sets the name of the program to be the last path component of the -.Fa progname +.Fa name argument. Internally, only the pointer to the given string is kept as the program name, so it should not be modified and the storage for the string must remain valid @@ -65,9 +65,9 @@ for the rest of the program's lifetime. .Xr setproctitle 3 .Sh HISTORY The -.Nm getprogname +.Fn getprogname and -.Nm setprogname +.Fn setprogname functions first appeared in .Ox 5.4 as function-based wrappers around the