Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libutil Use .Fn instead of .Nm.



details:   https://anonhg.NetBSD.org/src/rev/18c5d51aaaa9
branches:  trunk
changeset: 754563:18c5d51aaaa9
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue May 04 06:41:27 2010 +0000

description:
Use .Fn instead of .Nm.

diffstat:

 lib/libutil/disklabel_dkcksum.3 |   6 +++---
 lib/libutil/disklabel_scan.3    |   6 +++---
 lib/libutil/getbootfile.3       |   6 +++---
 lib/libutil/getmaxpartitions.3  |   6 +++---
 lib/libutil/getrawpartition.3   |   6 +++---
 lib/libutil/parsedate.3         |   6 +++---
 lib/libutil/pidfile.3           |  10 +++++-----
 lib/libutil/pw_getconf.3        |   6 +++---
 lib/libutil/secure_path.3       |   6 +++---
 lib/libutil/ttyaction.3         |   8 ++++----
 10 files changed, 33 insertions(+), 33 deletions(-)

diffs (288 lines):

diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/disklabel_dkcksum.3
--- a/lib/libutil/disklabel_dkcksum.3   Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/disklabel_dkcksum.3   Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: disklabel_dkcksum.3,v 1.7 2008/04/30 13:10:52 martin Exp $
+.\"    $NetBSD: disklabel_dkcksum.3,v 1.8 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 15, 2005
+.Dd May 4, 2010
 .Dt DISKLABEL_DKCKSUM 3
 .Os
 .Sh NAME
@@ -51,6 +51,6 @@
 returns the computed checksum.
 .Sh HISTORY
 The
-.Nm
+.Fn disklabel_dkcksum
 function call appeared in
 .Nx 2.0 .
diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/disklabel_scan.3
--- a/lib/libutil/disklabel_scan.3      Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/disklabel_scan.3      Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: disklabel_scan.3,v 1.5 2008/04/30 13:10:52 martin Exp $
+.\"    $NetBSD: disklabel_scan.3,v 1.6 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 12, 2002
+.Dd May 4, 2010
 .Dt DISKLABEL_SCAN 3
 .Os
 .Sh NAME
@@ -54,6 +54,6 @@
 function returns 0 if a valid disklabel was found and 1 if not.
 .Sh HISTORY
 The
-.Nm
+.Fn disklabel_scan
 function call appeared in
 .Nx 2.0 .
diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/getbootfile.3
--- a/lib/libutil/getbootfile.3 Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/getbootfile.3 Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getbootfile.3,v 1.8 2010/03/22 22:00:37 joerg Exp $
+.\"    $NetBSD: getbootfile.3,v 1.9 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 6, 2001
+.Dd May 4, 2010
 .Dt GETBOOTFILE 3
 .Os
 .Sh NAME
@@ -54,7 +54,7 @@
 .Xr sysctl 3
 .Sh HISTORY
 The
-.Nm
+.Fn getbootfile
 function call appeared in
 .Fx 2.0
 and
diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/getmaxpartitions.3
--- a/lib/libutil/getmaxpartitions.3    Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/getmaxpartitions.3    Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getmaxpartitions.3,v 1.9 2008/04/30 13:10:52 martin Exp $
+.\"    $NetBSD: getmaxpartitions.3,v 1.10 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 24, 2006
+.Dd May 4, 2010
 .Dt GETMAXPARTITIONS 3
 .Os
 .Sh NAME
@@ -54,6 +54,6 @@
 .Xr sysctl 3
 .Sh HISTORY
 The
-.Nm
+.Fn getmaxpartitions
 function call appeared in
 .Nx 1.2 .
diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/getrawpartition.3
--- a/lib/libutil/getrawpartition.3     Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/getrawpartition.3     Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getrawpartition.3,v 1.10 2008/04/30 13:10:52 martin Exp $
+.\"    $NetBSD: getrawpartition.3,v 1.11 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 24, 2006
+.Dd May 4, 2010
 .Dt GETRAWPARTITION 3
 .Os
 .Sh NAME
@@ -66,6 +66,6 @@
 .Xr sysctl 3
 .Sh HISTORY
 The
-.Nm
+.Fn getrawpartition
 function call appeared in
 .Nx 1.2 .
diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/parsedate.3
--- a/lib/libutil/parsedate.3   Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/parsedate.3   Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: parsedate.3,v 1.5 2009/03/10 21:01:08 joerg Exp $
+.\"     $NetBSD: parsedate.3,v 1.6 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright (c) 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 17, 2006
+.Dd May 4, 2010
 .Dt PARSEDATE 3
 .Os
 .Sh NAME
@@ -41,7 +41,7 @@
 .Fn parsedate "const char *datestr" "const time_t *time" "const int *tzoff"
 .Sh DESCRIPTION
 The
-.Nm parsedate
+.Fn parsedate
 function parses a datetime from
 .Ar datestr
 described in english relative to an optional
diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/pidfile.3
--- a/lib/libutil/pidfile.3     Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/pidfile.3     Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pidfile.3,v 1.10 2008/04/30 13:10:52 martin Exp $
+.\"    $NetBSD: pidfile.3,v 1.11 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 5, 1999
+.Dd May 4, 2010
 .Dt PIDFILE 3
 .Os
 .Sh NAME
@@ -49,7 +49,7 @@
 If the
 .Ar basename
 argument is NULL,
-.Nm
+.Fn pidfile
 will determine the program name and use that instead.
 .Pp
 The pid file can be used as a quick reference if
@@ -58,7 +58,7 @@
 the program receives a fatal signal.
 .Pp
 Note that only the first invocation of
-.Nm
+.Fn pidfile
 causes a pid file to be written; subsequent invocations have no effect
 unless a new
 .Ar basename
@@ -74,7 +74,7 @@
 .Xr atexit 3
 .Sh HISTORY
 The
-.Nm
+.Fn pidfile
 function call appeared in
 .Nx 1.5 .
 .Sh BUGS
diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/pw_getconf.3
--- a/lib/libutil/pw_getconf.3  Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/pw_getconf.3  Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pw_getconf.3,v 1.11 2008/12/26 21:02:28 wiz Exp $
+.\"    $NetBSD: pw_getconf.3,v 1.12 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright 1997 Niels Provos <provos%physnet.uni-hamburg.de@localhost>
 .\" All rights reserved.
@@ -30,7 +30,7 @@
 .\"
 .\" from OpenBSD: pw_getconf.3,v 1.5 1999/09/21 04:52:46 csapuntz Exp
 .\"
-.Dd December 25, 2008
+.Dd May 4, 2010
 .Dt PW_GETCONF 3
 .Os
 .Sh NAME
@@ -77,7 +77,7 @@
 .Pp
 An empty string is returned for all errors.
 .Pp
-.Nm pw_getpwconf
+.Fn pw_getpwconf
 returns the value for the option specified for the particular user
 specified in
 .Ar pwd .
diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/secure_path.3
--- a/lib/libutil/secure_path.3 Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/secure_path.3 Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: secure_path.3,v 1.9 2003/04/16 13:35:15 wiz Exp $
+.\"    $NetBSD: secure_path.3,v 1.10 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright (c) 1996,1997 Berkeley Software Design, Inc. All rights reserved.
 .\"
@@ -32,7 +32,7 @@
 .\"
 .\" from BSDI: login_cap.3,v 1.4 1997/11/07 16:22:27 jch Exp
 .\"
-.Dd July 16, 1996
+.Dd May 4, 2010
 .Dt SECURE_PATH 3
 .Os
 .Sh NAME
@@ -63,7 +63,7 @@
 .Xr openlog 3
 .Sh HISTORY
 The
-.Nm
+.Fn secure_path
 function is based on the
 .Bsx
 implementation of same, and appeared in
diff -r ea7e4638d79f -r 18c5d51aaaa9 lib/libutil/ttyaction.3
--- a/lib/libutil/ttyaction.3   Tue May 04 06:13:43 2010 +0000
+++ b/lib/libutil/ttyaction.3   Tue May 04 06:41:27 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ttyaction.3,v 1.14 2009/10/22 23:08:03 tsarna Exp $
+.\" $NetBSD: ttyaction.3,v 1.15 2010/05/04 06:41:27 jruoho Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 24, 1996
+.Dd May 4, 2010
 .Dt TTYACTION 3
 .Os
 .Sh NAME
@@ -98,10 +98,10 @@
 mechanism to allow selection of different access control policies
 on a per-line basis.
 It has been suggested that the same
-.Nm ttyaction
+.Fn ttyaction
 mechanism should also be used for determining access control, but
 it was decided (after much discussion) that
-.Nm ttyaction
+.Fn ttyaction
 should only describe actions to be performed
 .Em after
 the system has decided to change the ownership of some tty.



Home | Main Index | Thread Index | Old Index