Module Name: src Committed By: wiz Date: Mon Jan 6 13:03:33 UTC 2014
Modified Files: src/share/man/man9lua: core.9lua pmf.9lua systm.9lua Log Message: Use more markup. Fix a typo. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/man/man9lua/core.9lua \ src/share/man/man9lua/pmf.9lua src/share/man/man9lua/systm.9lua Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9lua/core.9lua diff -u src/share/man/man9lua/core.9lua:1.1 src/share/man/man9lua/core.9lua:1.2 --- src/share/man/man9lua/core.9lua:1.1 Tue Oct 29 08:34:07 2013 +++ src/share/man/man9lua/core.9lua Mon Jan 6 13:03:33 2014 @@ -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 <mbal...@netbsd.org>. All rights reserved. .\" @@ -65,7 +65,11 @@ Send 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 @@ to the current process's controlling tty .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 @@ A newline character is added at the end .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 @@ variable: .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 Index: src/share/man/man9lua/pmf.9lua diff -u src/share/man/man9lua/pmf.9lua:1.1 src/share/man/man9lua/pmf.9lua:1.2 --- src/share/man/man9lua/pmf.9lua:1.1 Tue Oct 29 09:40:44 2013 +++ src/share/man/man9lua/pmf.9lua Mon Jan 6 13:03:33 2014 @@ -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 <mbal...@netbsd.org>. All rights reserved. .\" @@ -83,9 +83,9 @@ Returns nil if the key is not present. .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 Index: src/share/man/man9lua/systm.9lua diff -u src/share/man/man9lua/systm.9lua:1.1 src/share/man/man9lua/systm.9lua:1.2 --- src/share/man/man9lua/systm.9lua:1.1 Mon Dec 16 23:54:26 2013 +++ src/share/man/man9lua/systm.9lua Mon Jan 6 13:03:33 2014 @@ -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 <mbal...@netbsd.org>. All rights reserved. .\" @@ -65,7 +65,11 @@ Send 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 @@ Send 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 @@ A newline character is added at the end .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 @@ variable: .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