Module Name: src Committed By: jruoho Date: Tue May 4 06:41:27 UTC 2010
Modified Files: src/lib/libutil: disklabel_dkcksum.3 disklabel_scan.3 getbootfile.3 getmaxpartitions.3 getrawpartition.3 parsedate.3 pidfile.3 pw_getconf.3 secure_path.3 ttyaction.3 Log Message: Use .Fn instead of .Nm. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libutil/disklabel_dkcksum.3 cvs rdiff -u -r1.5 -r1.6 src/lib/libutil/disklabel_scan.3 \ src/lib/libutil/parsedate.3 cvs rdiff -u -r1.8 -r1.9 src/lib/libutil/getbootfile.3 cvs rdiff -u -r1.9 -r1.10 src/lib/libutil/getmaxpartitions.3 \ src/lib/libutil/secure_path.3 cvs rdiff -u -r1.10 -r1.11 src/lib/libutil/getrawpartition.3 \ src/lib/libutil/pidfile.3 cvs rdiff -u -r1.11 -r1.12 src/lib/libutil/pw_getconf.3 cvs rdiff -u -r1.14 -r1.15 src/lib/libutil/ttyaction.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libutil/disklabel_dkcksum.3 diff -u src/lib/libutil/disklabel_dkcksum.3:1.7 src/lib/libutil/disklabel_dkcksum.3:1.8 --- src/lib/libutil/disklabel_dkcksum.3:1.7 Wed Apr 30 13:10:52 2008 +++ src/lib/libutil/disklabel_dkcksum.3 Tue May 4 06:41:27 2010 @@ -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 . Index: src/lib/libutil/disklabel_scan.3 diff -u src/lib/libutil/disklabel_scan.3:1.5 src/lib/libutil/disklabel_scan.3:1.6 --- src/lib/libutil/disklabel_scan.3:1.5 Wed Apr 30 13:10:52 2008 +++ src/lib/libutil/disklabel_scan.3 Tue May 4 06:41:27 2010 @@ -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 . Index: src/lib/libutil/parsedate.3 diff -u src/lib/libutil/parsedate.3:1.5 src/lib/libutil/parsedate.3:1.6 --- src/lib/libutil/parsedate.3:1.5 Tue Mar 10 21:01:08 2009 +++ src/lib/libutil/parsedate.3 Tue May 4 06:41:27 2010 @@ -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 Index: src/lib/libutil/getbootfile.3 diff -u src/lib/libutil/getbootfile.3:1.8 src/lib/libutil/getbootfile.3:1.9 --- src/lib/libutil/getbootfile.3:1.8 Mon Mar 22 22:00:37 2010 +++ src/lib/libutil/getbootfile.3 Tue May 4 06:41:27 2010 @@ -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 Index: src/lib/libutil/getmaxpartitions.3 diff -u src/lib/libutil/getmaxpartitions.3:1.9 src/lib/libutil/getmaxpartitions.3:1.10 --- src/lib/libutil/getmaxpartitions.3:1.9 Wed Apr 30 13:10:52 2008 +++ src/lib/libutil/getmaxpartitions.3 Tue May 4 06:41:27 2010 @@ -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 . Index: src/lib/libutil/secure_path.3 diff -u src/lib/libutil/secure_path.3:1.9 src/lib/libutil/secure_path.3:1.10 --- src/lib/libutil/secure_path.3:1.9 Wed Apr 16 13:35:15 2003 +++ src/lib/libutil/secure_path.3 Tue May 4 06:41:27 2010 @@ -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 Index: src/lib/libutil/getrawpartition.3 diff -u src/lib/libutil/getrawpartition.3:1.10 src/lib/libutil/getrawpartition.3:1.11 --- src/lib/libutil/getrawpartition.3:1.10 Wed Apr 30 13:10:52 2008 +++ src/lib/libutil/getrawpartition.3 Tue May 4 06:41:27 2010 @@ -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 . Index: src/lib/libutil/pidfile.3 diff -u src/lib/libutil/pidfile.3:1.10 src/lib/libutil/pidfile.3:1.11 --- src/lib/libutil/pidfile.3:1.10 Wed Apr 30 13:10:52 2008 +++ src/lib/libutil/pidfile.3 Tue May 4 06:41:27 2010 @@ -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 Index: src/lib/libutil/pw_getconf.3 diff -u src/lib/libutil/pw_getconf.3:1.11 src/lib/libutil/pw_getconf.3:1.12 --- src/lib/libutil/pw_getconf.3:1.11 Fri Dec 26 21:02:28 2008 +++ src/lib/libutil/pw_getconf.3 Tue May 4 06:41:27 2010 @@ -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 <pro...@physnet.uni-hamburg.de> .\" 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 . Index: src/lib/libutil/ttyaction.3 diff -u src/lib/libutil/ttyaction.3:1.14 src/lib/libutil/ttyaction.3:1.15 --- src/lib/libutil/ttyaction.3:1.14 Thu Oct 22 23:08:03 2009 +++ src/lib/libutil/ttyaction.3 Tue May 4 06:41:27 2010 @@ -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.