From 2fadbfb588d199839d39eba9ea112d398785188a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 18 Jun 2008 08:57:49 +0000 Subject: [PATCH] For consistency, "fix" cases where aregument of .B or .I was on the following source line. --- man2/msgctl.2 | 9 +++------ man2/msgget.2 | 9 +++------ man2/pciconfig_read.2 | 21 +++++++-------------- man2/semget.2 | 9 +++------ man2/semop.2 | 9 +++------ man3/basename.3 | 15 +++++++-------- man3/cmsg.3 | 3 +-- man3/ftok.3 | 6 ++---- man4/console_ioctl.4 | 3 +-- man5/tzfile.5 | 3 +-- man7/mq_overview.7 | 3 +-- man7/pty.7 | 1 - 12 files changed, 32 insertions(+), 59 deletions(-) diff --git a/man2/msgctl.2 b/man2/msgctl.2 index a186954ae..89e02ef33 100644 --- a/man2/msgctl.2 +++ b/man2/msgctl.2 @@ -37,12 +37,9 @@ msgctl \- message control operations .SH SYNOPSIS .nf -.B -#include -.B -#include -.B -#include +.B #include +.B #include +.B #include .fi .sp .BI "int msgctl(int " msqid , diff --git a/man2/msgget.2 b/man2/msgget.2 index fe8dd963f..94da7b3e7 100644 --- a/man2/msgget.2 +++ b/man2/msgget.2 @@ -35,12 +35,9 @@ msgget \- get a message queue identifier .SH SYNOPSIS .nf -.B -#include -.B -#include -.B -#include +.B #include +.B #include +.B #include .fi .sp .BI "int msgget(key_t " key , diff --git a/man2/pciconfig_read.2 b/man2/pciconfig_read.2 index 51fe17089..6112d610b 100644 --- a/man2/pciconfig_read.2 +++ b/man2/pciconfig_read.2 @@ -24,26 +24,20 @@ and thus these calls should not normally need to be accessed from userspace. .TP .BR pciconfig_read () Reads to -.I -buf +.I buf from device -.I -dev +.I dev at offset -.I -off +.I off value. .TP .BR pciconfig_write () Writes from -.I -buf +.I buf to device -.I -dev +.I dev at offset -.I -off +.I off value. .TP .BR pciconfig_iobase () @@ -103,8 +97,7 @@ not defined). This return value is only valid for .BR pciconfig_iobase (). It is returned if the value for -.I -which +.I which is invalid. .TP .B EPERM diff --git a/man2/semget.2 b/man2/semget.2 index 531def6e5..8186b6efe 100644 --- a/man2/semget.2 +++ b/man2/semget.2 @@ -36,12 +36,9 @@ semget \- get a semaphore set identifier .SH SYNOPSIS .nf -.B -#include -.B -#include -.B -#include +.B #include +.B #include +.B #include .fi .sp .BI "int semget(key_t " key , diff --git a/man2/semop.2 b/man2/semop.2 index f450d5823..176c9dba5 100644 --- a/man2/semop.2 +++ b/man2/semop.2 @@ -35,12 +35,9 @@ semop, semtimedop \- semaphore operations .SH SYNOPSIS .nf -.B -#include -.B -#include -.B -#include +.B #include +.B #include +.B #include .sp .BI "int semop(int " semid ", struct sembuf *" sops ", unsigned " nsops ); .sp diff --git a/man3/basename.3 b/man3/basename.3 index 77969cd03..33a447b95 100644 --- a/man3/basename.3 +++ b/man3/basename.3 @@ -106,14 +106,13 @@ and for different paths: .sp .nf -.B -path dirname basename -"/usr/lib" "/usr" "lib" -"/usr/" "/" "usr" -"usr" "." "usr" -"/" "/" "/" -"." "." "." -".." "." ".." +.B "path dirname basename" +"/usr/lib" "/usr" "lib" +"/usr/" "/" "usr" +"usr" "." "usr" +"/" "/" "/" +"." "." "." +".." "." ".." .fi .SH "RETURN VALUE" Both diff --git a/man3/cmsg.3 b/man3/cmsg.3 index f63496ddd..2ae73ddcd 100644 --- a/man3/cmsg.3 +++ b/man3/cmsg.3 @@ -137,8 +137,7 @@ member of the .SH "CONFORMING TO" This ancillary data model conforms to the POSIX.1g draft, 4.4BSD-Lite, the IPv6 advanced API described in RFC\ 2292 and the SUSv2. -.B -CMSG_ALIGN +.B CMSG_ALIGN is a Linux extension. .SH NOTES For portability, ancillary data should be accessed only using the macros diff --git a/man3/ftok.3 b/man3/ftok.3 index 9c5f06740..34e1fc94b 100644 --- a/man3/ftok.3 +++ b/man3/ftok.3 @@ -29,10 +29,8 @@ ftok \- convert a pathname and a project identifier to a System V IPC key .SH SYNOPSIS .nf -.B -#include -.B -#include +.B #include +.B #include .fi .sp .BI "key_t ftok(const char *" pathname ", int " proj_id ); diff --git a/man4/console_ioctl.4 b/man4/console_ioctl.4 index 77d8c0d02..b273f712e 100644 --- a/man4/console_ioctl.4 +++ b/man4/console_ioctl.4 @@ -560,8 +560,7 @@ On error \-1 is returned, and \fIerrno\fP is set. .B EBADF The file descriptor is invalid. .TP -.B -ENOTTY +.B ENOTTY The file descriptor is not associated with a character special device, or the specified request does not apply to it. .TP diff --git a/man5/tzfile.5 b/man5/tzfile.5 index 938d2e454..6ec7561d2 100644 --- a/man5/tzfile.5 +++ b/man5/tzfile.5 @@ -5,8 +5,7 @@ .SH NAME tzfile \- time zone information .SH SYNOPSIS -.B -#include +.B #include .SH DESCRIPTION The time zone information files used by .BR tzset (3) diff --git a/man7/mq_overview.7 b/man7/mq_overview.7 index 8091abaa7..572b8080a 100644 --- a/man7/mq_overview.7 +++ b/man7/mq_overview.7 @@ -219,8 +219,7 @@ $ mount -t mqueue none /dev/mqueue .in These fields are as follows: .TP -.B -QSIZE +.B QSIZE Number of bytes of data in all messages in the queue. .TP .B NOTIFY_PID diff --git a/man7/pty.7 b/man7/pty.7 index 25ef17d5a..61996bde9 100644 --- a/man7/pty.7 +++ b/man7/pty.7 @@ -132,7 +132,6 @@ for "pty" in the name of the master) can then be opened. .br .I /dev/tty[p-za-e][0-9a-f] (BSD slave devices) -.I .SH "NOTES" A description of the .B TIOCPKT