Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9lua Use more markup. Fix a typo.
details: https://anonhg.NetBSD.org/src/rev/bea0791caafd
branches: trunk
changeset: 325786:bea0791caafd
user: wiz <wiz%NetBSD.org@localhost>
date: Mon Jan 06 13:03:33 2014 +0000
description:
Use more markup. Fix a typo.
diffstat:
share/man/man9lua/core.9lua | 44 ++++++++++++++++++++++++++++++++------------
share/man/man9lua/pmf.9lua | 6 +++---
share/man/man9lua/systm.9lua | 28 ++++++++++++++++++++--------
3 files changed, 55 insertions(+), 23 deletions(-)
diffs (194 lines):
diff -r 348c4e95f6cb -r bea0791caafd share/man/man9lua/core.9lua
--- a/share/man/man9lua/core.9lua Mon Jan 06 13:03:01 2014 +0000
+++ b/share/man/man9lua/core.9lua Mon Jan 06 13:03:33 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: core.9lua,v 1.1 2013/10/29 08:34:07 mbalmer Exp $
+.\" $NetBSD: core.9lua,v 1.2 2014/01/06 13:03:33 wiz Exp $
.\"
.\" Copyright (c) 2013 Marc Balmer <mbalmer%NetBSD.org@localhost>. All rights reserved.
.\"
@@ -65,7 +65,11 @@
to the console.
.Pp
.It Dv core.print_nolog(msg)
-The core.print_nolog() function is identical to the core.print() function,
+The
+.Fn core.print_nolog
+function is identical to the
+.Fn core.print
+function,
except is does not send
.Ar msg
to lthe system og.
@@ -78,37 +82,53 @@
.It Dv core.aprint_normal(msg)
Send
.Ar msg
-to the console unless AB_QUIET is set.
+to the console unless
+.Dv AB_QUIET
+is set.
Always sends to the log.
.Pp
.It Dv core.aprint_naive(msg)
Send
.Ar msg
-to the console only if AB_QUIET is set.
+to the console only if
+.Dv AB_QUIET
+is set.
Never sends to the log.
.Pp
.It Dv core.aprint_verbose(msg)
Send
.Ar msg
-to the console only if AB_VERBOSE is set.
+to the console only if
+.Dv AB_VERBOSE
+is set.
Always sends to the log.
.Pp
.It Dv core.aprint_debug(msg)
Send
.Ar msg
-to the console and the log only if AB_DEBUG is set.
+to the console and the log only if
+.Dv AB_DEBUG
+is set.
.Pp
.It Dv core.aprint_error(msg)
-Like core.aprint_normal(), but also keeps track of the number of times called.
+Like
+.Fn core.aprint_normal ,
+but also keeps track of the number of times called.
This allows a subsystem to report the number of errors that occurred during a
quiet or silent initialization phase.
.Pp
.It Dv count = core.aprint_get_error_count()
-The core.aprint_get_error_count() function reports the number of errors and
+The
+.Fn core.aprint_get_error_count
+function reports the number of errors and
resets the counter to 0.
.Pp
.It Dv core.panic(msg)
-The core.panic() function terminates the NetBSD system.
+The
+.Fn core.panic
+function terminates the
+.Nx
+system.
The message
.Ar msg
is printed to the console and saved in the variable
@@ -119,7 +139,7 @@
.Sh VARIABLES
Upon initialisation, the
.Nm
-module sets the following variables with the values of the correspondig kernel
+module sets the following variables with the values of the corresponding kernel
variable:
.Pp
.Bl -tag -width XXXX -compact
@@ -136,8 +156,8 @@
.Sh SEE ALSO
.Xr lua 1 ,
.Xr luac 1 ,
-.Xr intro 9lua ,
-.Xr lua 4
+.Xr lua 4 ,
+.Xr intro 9lua
.Sh HISTORY
An
.Nm
diff -r 348c4e95f6cb -r bea0791caafd share/man/man9lua/pmf.9lua
--- a/share/man/man9lua/pmf.9lua Mon Jan 06 13:03:01 2014 +0000
+++ b/share/man/man9lua/pmf.9lua Mon Jan 06 13:03:33 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pmf.9lua,v 1.1 2013/10/29 09:40:44 mbalmer Exp $
+.\" $NetBSD: pmf.9lua,v 1.2 2014/01/06 13:03:33 wiz Exp $
.\"
.\" Copyright (c) 2013 Marc Balmer <mbalmer%NetBSD.org@localhost>. All rights reserved.
.\"
@@ -83,9 +83,9 @@
.Sh SEE ALSO
.Xr lua 1 ,
.Xr luac 1 ,
-.Xr intro 9lua ,
.Xr lua 4 ,
-.Xr pmf 9
+.Xr pmf 9 ,
+.Xr intro 9lua
.Sh HISTORY
An
.Nm
diff -r 348c4e95f6cb -r bea0791caafd share/man/man9lua/systm.9lua
--- a/share/man/man9lua/systm.9lua Mon Jan 06 13:03:01 2014 +0000
+++ b/share/man/man9lua/systm.9lua Mon Jan 06 13:03:33 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: systm.9lua,v 1.1 2013/12/16 23:54:26 lneto Exp $
+.\" $NetBSD: systm.9lua,v 1.2 2014/01/06 13:03:33 wiz Exp $
.\"
.\" Copyright (c) 2013 Marc Balmer <mbalmer%NetBSD.org@localhost>. All rights reserved.
.\"
@@ -65,7 +65,11 @@
to the console.
.Pp
.It Dv systm.print_nolog(msg)
-The systm.print_nolog() function is identical to the systm.print() function,
+The
+.Fn systm.print_nolog
+function is identical to the
+.Fn systm.print
+function,
except is does not send
.Ar msg
to the system log.
@@ -99,16 +103,24 @@
to the console and the log only if AB_DEBUG is set.
.Pp
.It Dv systm.aprint_error(msg)
-Like systm.aprint_normal(), but also keeps track of the number of times called.
+Like
+.Fn systm.aprint_normal ,
+but also keeps track of the number of times called.
This allows a subsystem to report the number of errors that occurred during a
quiet or silent initialization phase.
.Pp
.It Dv count = systm.aprint_get_error_count()
-The systm.aprint_get_error_count() function reports the number of errors and
+The
+.Fn systm.aprint_get_error_count
+function reports the number of errors and
resets the counter to 0.
.Pp
.It Dv systm.panic(msg)
-The systm.panic() function terminates the NetBSD system.
+The
+.Fn systm.panic
+function terminates the
+.Nx
+system.
The message
.Ar msg
is printed to the console and saved in the variable
@@ -119,7 +131,7 @@
.Sh VARIABLES
Upon initialisation, the
.Nm
-module sets the following variables with the values of the correspondig kernel
+module sets the following variables with the values of the corresponding kernel
variable:
.Pp
.Bl -tag -width XXXX -compact
@@ -136,8 +148,8 @@
.Sh SEE ALSO
.Xr lua 1 ,
.Xr luac 1 ,
-.Xr intro 9lua ,
-.Xr lua 4
+.Xr lua 4 ,
+.Xr intro 9lua
.Sh HISTORY
An
.Nm
Home |
Main Index |
Thread Index |
Old Index