Source-Changes-HG archive

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

[src/trunk]: src/share/man/man5 Remove superfluous .Nm arguments; grammar fix...



details:   https://anonhg.NetBSD.org/src/rev/114e6d757518
branches:  trunk
changeset: 551694:114e6d757518
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Sep 10 14:24:23 2003 +0000

description:
Remove superfluous .Nm arguments; grammar fixes; add semicolons
when enumerating variables (looks more natural).

diffstat:

 share/man/man5/siginfo.5 |  104 +++++++++++++++++++++++-----------------------
 1 files changed, 52 insertions(+), 52 deletions(-)

diffs (235 lines):

diff -r 98df4596ece3 -r 114e6d757518 share/man/man5/siginfo.5
--- a/share/man/man5/siginfo.5  Wed Sep 10 14:13:07 2003 +0000
+++ b/share/man/man5/siginfo.5  Wed Sep 10 14:24:23 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: siginfo.5,v 1.1 2003/09/10 14:11:28 christos Exp $
+.\"    $NetBSD: siginfo.5,v 1.2 2003/09/10 14:24:23 wiz Exp $
 .\"
 .\" Copyright (c) 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -43,26 +43,26 @@
 .Sh SYNOPSIS
 .In signal.h
 .Sh DESCRIPTION
-.Nm siginfo_t
-is a structure type which is contains information about a signal delivered
+.Nm
+is a structure type which contains information about a signal delivered
 to a process.
 .Pp
-.Nm siginfo_t
+.Nm
 includes the following members:
 .Bd -literal -offset indent
-int si_signo
-int si_errno
-int si_code
+int si_signo;
+int si_errno;
+int si_code;
 .Ed
 .Pp
-The
 .Fa si_signo
 contains the signal number generated by the system.
 .Pp
-If 
+If
 .Fa si_errno
 is non-zero, then it contains a system specific error number associated
-with this signal. This number is defined in
+with this signal.
+This number is defined in
 .Xr errno 2 .
 .Pp
 If
@@ -74,38 +74,38 @@
 The signal was generated via
 .Xr kill 2 .
 The
-.Nm siginfo_t
+.Nm
 structure contains the following additional members:
 .Bd -literal -offset indent
-pid_t si_pid
-uid_t si_uid
+pid_t si_pid;
+uid_t si_uid;
 .Ed
 .Pp
 The
 .Fa si_pid
-field contains the pid of the sending process and
+field contains the pid of the sending process and the
 .Fa si_uid
 field contains the user id of the sending process.
 .\" .It SI_QUEUE
 .\" The signal was generated via
 .\" .Xr sigqueue 3 .
 .\" The
-.\" .Nm siginfo_t
+.\" .Nm
 .\" structure contains the following additional members:
 .\" .Bd -literal -offset indent
-.\" pid_t si_pid
-.\" uid_t si_uid
+.\" pid_t si_pid;
+.\" uid_t si_uid;
 .\" sigval_t si_sigval
 .\" .Ed
 .\" .Pp
 .\" The
 .\" .Fa si_pid
-.\" field contains the pid of the sending process and
+.\" field contains the pid of the sending process and the
 .\" .Fa si_uid
 .\" field contains the user id of the sending process.
-.\" Finally the
+.\" Finally, the
 .\" .Fa si_sigval
-.\" contains the value sent via
+.\" field contains the value sent via
 .\" .Xr sigqueue 3 .
 .\" .It SI_TIMER
 .\" The signal was generated because a timer set by
@@ -114,11 +114,11 @@
 .It SI_ASYNCIO
 The signal was generated by completion of an asynchronous I/O operation.
 The
-.Nm siginfo_t
+.Nm
 structure contains the following additional members:
 .Bd -literal -offset indent
-int si_fd
-long si_band
+int si_fd;
+long si_band;
 .Ed
 .Pp
 The
@@ -126,20 +126,21 @@
 argument contains the file descriptor number on which the operation was
 completed and the
 .Fa si_band
-contains the side and priority of the operation. If the operation was
-a normal read, 
+field contains the side and priority of the operation.
+If the operation was a normal read,
 .Fa si_band
-will contain 
+will contain
 .Dv POLLIN | POLLRDNORM ;
-on an out of band read it will contain
+on an out-of-band read it will contain
 .Dv POLLPRI | POLLRDBAND ;
 on a normal write it will contain
 .Dv POLLOUT | POLLWRNORM ;
-on an out of band write it will contain
-.Dv POLLPRI | POLLWRBAND . 
+on an out-of-band write it will contain
+.Dv POLLPRI | POLLWRBAND .
 .\" .It SI_MESGQ
-.\" The signal was generated because of an arrival of a message on an empty
-.\" message queue. See
+.\" The signal was generated because of the arrival of a message on an empty
+.\" message queue.
+.\" See
 .\" .Xr mq_notify 3 .
 .El
 .Pp
@@ -246,31 +247,30 @@
 and
 .Dv SIGTRAP
 the
-.Nm siginfo_t
+.Nm
 structure contains the following additional members:
 .Bd -literal -offset indent
-void *si_addr
-int si_trap
+void *si_addr;
+int si_trap;
 .Ed
 .Pp
-The
 .Fa si_addr
 contains the address of the faulting instruction and
 .Fa si_trap
 contains a hardware specific reason.
 .Pp
 For
-.Dv SIGBUS and
+.Dv SIGBUS
+and
 .Dv SIGSEGV
 the
-.Nm siginfo_t
+.Nm
 structure contains the following additional members:
 .Bd -literal -offset indent
-void *si_addr
-int si_trap
+void *si_addr;
+int si_trap;
 .Ed
 .Pp
-The
 .Fa si_addr
 contains the address of the faulting data and
 .Fa si_trap
@@ -279,11 +279,11 @@
 For
 .Dv SIGPOLL
 the
-.Nm siginfo_t
+.Nm
 structure contains the following additional members:
 .Bd -literal -offset indent
-int si_fd
-long si_band
+int si_fd;
+long si_band;
 .Ed
 .Pp
 The
@@ -291,19 +291,19 @@
 argument contains the file descriptor number on which the operation was
 completed and the
 .Fa si_band
-contains the side and priority of the operation as described above.
+field contains the side and priority of the operation as described above.
 .Pp
 Finally, for
 .Dv SIGCHLD
 the
-.Nm siginfo_t
+.Nm
 structure contains the following additional members:
 .Bd -literal -offset indent
-pid_t si_pid
-uid_t si_uid
-int si_status
-clock_t        si_utime
-clock_t        si_stime
+pid_t si_pid;
+uid_t si_uid;
+int si_status;
+clock_t        si_utime;
+clock_t        si_stime;
 .Ed
 .Pp
 The
@@ -321,11 +321,11 @@
 fields contain the user and system process accounting time.
 .Sh STANDARDS
 The
-.Nm siginfo_t
+.Nm
 type conforms to
 .St -xsh5 .
 .Sh HISTORY
 The
-.Nm siginfo_t
+.Nm
 functionality first appeared in
 .At V.4 .



Home | Main Index | Thread Index | Old Index