Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Formatting and punctuation improvements.



details:   https://anonhg.NetBSD.org/src/rev/56dd72d1428e
branches:  trunk
changeset: 823923:56dd72d1428e
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun May 14 12:35:46 2017 +0000

description:
Formatting and punctuation improvements.

diffstat:

 lib/libc/gen/signalname.3 |  25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diffs (73 lines):

diff -r d87a5037412b -r 56dd72d1428e lib/libc/gen/signalname.3
--- a/lib/libc/gen/signalname.3 Sun May 14 12:31:13 2017 +0000
+++ b/lib/libc/gen/signalname.3 Sun May 14 12:35:46 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: signalname.3,v 1.1 2017/05/09 11:14:16 kre Exp $
+.\" $NetBSD: signalname.3,v 1.2 2017/05/14 12:35:46 wiz Exp $
 .\"
 .\" Available to all and sundry, without restriction on use, or other
 .\" limitations, and without fee.   Also without any warranty of fitness
@@ -20,8 +20,8 @@
 .Dt SIGNALNAME 3
 .Os
 .Sh NAME
-.Nm signalname
-.Nm signalnumber
+.Nm signalname ,
+.Nm signalnumber ,
 .Nm signalnext
 .Nd convert between signal numbers and names
 .Sh LIBRARY
@@ -43,16 +43,21 @@
 The name returned is locale independent,
 and can be the string representation of one of the
 signal names from
-.In signal.h 
-such as SIGHUP, SIGSTOP, SIGKILL,
+.In signal.h
+such as
+.Dv SIGHUP ,
+.Dv SIGSTOP ,
+.Dv SIGKILL ,
 or some similar name,
 but does not contain the leading
-.Dq SIG
+.Dq Dv SIG
 prefix.
 .Pp
 The return value of
 .Fn signalname
-is NULL if
+is
+.Dv NULL
+if
 .Fa sig
 does not represent a valid signal number,
 or if the signal number given has no name.
@@ -66,7 +71,7 @@
 .Fa name
 is handled in a case-insensitive manner.
 Any leading
-.Dq SIG
+.Dq Dv SIG
 prefix in
 .Fa name
 is ignored.
@@ -90,7 +95,7 @@
 .Fn signalnext
 function returns minus one (\-1) on error, if the given signal
 .Fa sig
-is neither a valid signal number, nor zero.
+is neither a valid signal number nor zero.
 It returns zero when the input signal number,
 .Fa sig ,
 is the biggest available signal number.
@@ -126,7 +131,7 @@
 .Sh HISTORY
 The
 .Fn signalname ,
-.Fn signalnext
+.Fn signalnext ,
 and
 .Fn signalnumber
 functions first appeared in



Home | Main Index | Thread Index | Old Index