diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-20 21:53:34 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-20 21:53:34 +0000 |
| commit | c84371c688847344ff9cdfe96b731f94f9ff0e2c (patch) | |
| tree | c95f83dcda64b14d6753311637e7ebb5c93ee55b /man2 | |
| parent | 29059a6548ec1683f4c91ec4d91d79cf735b6505 (diff) | |
| download | man-pages-c84371c688847344ff9cdfe96b731f94f9ff0e2c.tar.gz | |
Italics for header file references
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/ioctl_list.2 | 2 | ||||
| -rw-r--r-- | man2/mlock.2 | 6 | ||||
| -rw-r--r-- | man2/mmap.2 | 2 | ||||
| -rw-r--r-- | man2/modify_ldt.2 | 2 | ||||
| -rw-r--r-- | man2/mount.2 | 6 | ||||
| -rw-r--r-- | man2/msgctl.2 | 4 | ||||
| -rw-r--r-- | man2/msync.2 | 2 | ||||
| -rw-r--r-- | man2/poll.2 | 2 | ||||
| -rw-r--r-- | man2/ptrace.2 | 4 | ||||
| -rw-r--r-- | man2/sched_get_priority_max.2 | 2 | ||||
| -rw-r--r-- | man2/sched_rr_get_interval.2 | 2 | ||||
| -rw-r--r-- | man2/sched_setparam.2 | 2 | ||||
| -rw-r--r-- | man2/sched_setscheduler.2 | 2 | ||||
| -rw-r--r-- | man2/sched_yield.2 | 2 | ||||
| -rw-r--r-- | man2/semctl.2 | 8 | ||||
| -rw-r--r-- | man2/shmctl.2 | 4 | ||||
| -rw-r--r-- | man2/signal.2 | 4 | ||||
| -rw-r--r-- | man2/statfs.2 | 4 |
18 files changed, 30 insertions, 30 deletions
diff --git a/man2/ioctl_list.2 b/man2/ioctl_list.2 index 4e184a6a4d..5a5e520c8f 100644 --- a/man2/ioctl_list.2 +++ b/man2/ioctl_list.2 @@ -69,7 +69,7 @@ followed by an 8-bit type (collecting the ioctls in groups for a common purpose or a common driver), and an 8-bit serial number. .LP -The macros describing this structure live in <asm/ioctl.h> +The macros describing this structure live in \fI<asm/ioctl.h>\fP and are _IO(type,nr) and {_IOR,_IOW,_IOWR}(type,nr,size). They use sizeof(size) so that size is a misnomer here: this third parameter is a data type. diff --git a/man2/mlock.2 b/man2/mlock.2 index 43bc58b545..887878fa18 100644 --- a/man2/mlock.2 +++ b/man2/mlock.2 @@ -199,10 +199,10 @@ and .BR munlock () are available, .B _POSIX_MEMLOCK_RANGE -is defined in <unistd.h> and the number of bytes in a page +is defined in \fI<unistd.h>\fP and the number of bytes in a page can be determined from the constant .B PAGESIZE -(if defined) in <limits.h> or by calling +(if defined) in \fI<limits.h>\fP or by calling .IR sysconf(_SC_PAGESIZE) . On POSIX systems on which @@ -211,7 +211,7 @@ and .BR munlockall () are available, .B _POSIX_MEMLOCK -is defined in <unistd.h> to a value greater than 0. (See also +is defined in \fI<unistd.h>\fP to a value greater than 0. (See also .BR sysconf (3).) .\" POSIX.1-2001: It shall be defined to -1 or 0 or 200112L. .\" -1: unavailable, 0: ask using sysconf(). diff --git a/man2/mmap.2 b/man2/mmap.2 index 99825498af..aa7de5ad4d 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -432,7 +432,7 @@ and .BR munmap () are available, .B _POSIX_MAPPED_FILES -is defined in <unistd.h> to a value greater than 0. (See also +is defined in \fI<unistd.h>\fP to a value greater than 0. (See also .BR sysconf (3).) .\" POSIX.1-2001: It shall be defined to -1 or 0 or 200112L. .\" -1: unavailable, 0: ask using sysconf(). diff --git a/man2/modify_ldt.2 b/man2/modify_ldt.2 index 103787e07a..9fd24949dd 100644 --- a/man2/modify_ldt.2 +++ b/man2/modify_ldt.2 @@ -67,7 +67,7 @@ must equal the size of this structure. The .I user_desc -structure is defined in <asm/ldt.h> as: +structure is defined in \fI<asm/ldt.h>\fP as: .in +0.25i .nf diff --git a/man2/mount.2 b/man2/mount.2 index 8f853ff33d..c9d0e1f582 100644 --- a/man2/mount.2 +++ b/man2/mount.2 @@ -86,8 +86,8 @@ The argument may have the magic number 0xC0ED (\fBMS_MGC_VAL\fP) in the top 16 bits (this was required in kernel versions prior to 2.4, but is no longer required and ignored if specified), -and various mount flags (as defined in <linux/fs.h> for libc4 and libc5 -and in <sys/mount.h> for glibc2) in the low order 16 bits: +and various mount flags (as defined in \fI<linux/fs.h>\fP for libc4 and libc5 +and in \fI<sys/mount.h>\fP for glibc2) in the low order 16 bits: .\" FIXME 2.6.15 added flags for "shared sub-tree" functionality: .\" MS_UNBINDABLE, MS_PRIVATE, MS_SHARED, MS_SLAVE .\" These need to be documented on this page. @@ -400,7 +400,7 @@ leaving only \fIumount(dir)\fP (since now devices can be mounted in more than one place, so specifying the device does not suffice). .LP The original MS_SYNC flag was renamed MS_SYNCHRONOUS in 1.1.69 -when a different MS_SYNC was added to <mman.h>. +when a different MS_SYNC was added to \fI<mman.h>\fP. .LP Before Linux 2.4 an attempt to execute a set-user-ID or set-group-ID program on a filesystem mounted with diff --git a/man2/msgctl.2 b/man2/msgctl.2 index f759d0cd00..d04aaf54a6 100644 --- a/man2/msgctl.2 +++ b/man2/msgctl.2 @@ -57,7 +57,7 @@ on the message queue with identifier .PP The .I msqid_ds -data structure is defined in <sys/msg.h> as follows: +data structure is defined in \fI<sys/msg.h>\fP as follows: .nf .in +4n @@ -80,7 +80,7 @@ struct msqid_ds { .PP The .I ipc_perm -structure is defined in <sys/ipc.h> as follows +structure is defined in \fI<sys/ipc.h>\fP as follows (the highlighted fields are settable using .BR IPC_SET ): .PP diff --git a/man2/msync.2 b/man2/msync.2 index fa3c0d883e..f93fb1d68e 100644 --- a/man2/msync.2 +++ b/man2/msync.2 @@ -101,7 +101,7 @@ is available, both .B _POSIX_MAPPED_FILES and .B _POSIX_SYNCHRONIZED_IO -are defined in <unistd.h> to a value greater than 0. +are defined in \fI<unistd.h>\fP to a value greater than 0. (See also .BR sysconf (3).) .\" POSIX.1-2001: It shall be defined to -1 or 0 or 200112L. diff --git a/man2/poll.2 b/man2/poll.2 index 4d3934dc86..e41a837c21 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -114,7 +114,7 @@ The bits that may be set/returned in .I events and .I revents -are defined in <poll.h>: +are defined in \fI<poll.h>\fP: .RS .TP .B POLLIN diff --git a/man2/ptrace.2 b/man2/ptrace.2 index ea3c57e2ef..b00b15f4c2 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -121,7 +121,7 @@ Reads a word at offset in the child's .B USER area, which holds the registers and other information about the process -(see <linux/user.h> and <sys/user.h>). +(see \fI<linux/user.h>\fP and <sys/user.h>). The word is returned as the result of the .BR ptrace () call. @@ -153,7 +153,7 @@ area are disallowed. PTRACE_GETREGS, PTRACE_GETFPREGS Copies the child's general purpose or floating-point registers, respectively, to location \fIdata\fP in the parent. -See <linux/user.h> for information on +See \fI<linux/user.h>\fP for information on the format of this data. (\fIaddr\fP is ignored.) .TP PTRACE_GETSIGINFO (since Linux 2.3.99-pre6) diff --git a/man2/sched_get_priority_max.2 b/man2/sched_get_priority_max.2 index bed583e36f..72bf6fcc7d 100644 --- a/man2/sched_get_priority_max.2 +++ b/man2/sched_get_priority_max.2 @@ -83,7 +83,7 @@ and .BR sched_get_priority_min () are available define .I _POSIX_PRIORITY_SCHEDULING -in <unistd.h>. +in \fI<unistd.h>\fP. .SH "RETURN VALUE" On success, .BR sched_get_priority_max () diff --git a/man2/sched_rr_get_interval.2 b/man2/sched_rr_get_interval.2 index aee0d082a9..ca404e370a 100644 --- a/man2/sched_rr_get_interval.2 +++ b/man2/sched_rr_get_interval.2 @@ -64,7 +64,7 @@ POSIX systems on which .BR sched_rr_get_interval () is available define .I _POSIX_PRIORITY_SCHEDULING -in <unistd.h>. +in \fI<unistd.h>\fP. .SH "RETURN VALUE" On success, .BR sched_rr_get_interval () diff --git a/man2/sched_setparam.2 b/man2/sched_setparam.2 index c8d5a4ce61..50ecd530db 100644 --- a/man2/sched_setparam.2 +++ b/man2/sched_setparam.2 @@ -84,7 +84,7 @@ and .BR sched_getparam () are available define .I _POSIX_PRIORITY_SCHEDULING -in <unistd.h>. +in \fI<unistd.h>\fP. .SH "RETURN VALUE" On success, .BR sched_setparam () diff --git a/man2/sched_setscheduler.2 b/man2/sched_setscheduler.2 index 3452ede535..2f8f2899a8 100644 --- a/man2/sched_setscheduler.2 +++ b/man2/sched_setscheduler.2 @@ -293,7 +293,7 @@ and .BR sched_getscheduler () are available define .I _POSIX_PRIORITY_SCHEDULING -in <unistd.h>. +in \fI<unistd.h>\fP. .SH "RETURN VALUE" On success, .BR sched_setscheduler () diff --git a/man2/sched_yield.2 b/man2/sched_yield.2 index 130dba49a6..79c2428915 100644 --- a/man2/sched_yield.2 +++ b/man2/sched_yield.2 @@ -49,7 +49,7 @@ POSIX systems on which .BR sched_yield () is available define .I _POSIX_PRIORITY_SCHEDULING -in <unistd.h>. +in \fI<unistd.h>\fP. .SH "RETURN VALUE" On success, .BR sched_yield () diff --git a/man2/semctl.2 b/man2/semctl.2 index 42ec724404..1bf636e133 100644 --- a/man2/semctl.2 +++ b/man2/semctl.2 @@ -78,7 +78,7 @@ union semun { .PP The .I semid_ds -data structure is defined in <sys/sem.h> as follows: +data structure is defined in \fI<sys/sem.h>\fP as follows: .nf .in +4n @@ -93,7 +93,7 @@ struct semid_ds { .PP The .I ipc_perm -structure is defined in <sys/ipc.h> as follows +structure is defined in \fI<sys/ipc.h>\fP as follows (the highlighted fields are settable using .BR IPC_SET ): .PP @@ -479,12 +479,12 @@ a recompilation under glibc-2.1.91 or later should suffice. .PP In some earlier versions of glibc, the .I semun -union was defined in <sys/sem.h>, but POSIX.1-2001 requires +union was defined in \fI<sys/sem.h>\fP, but POSIX.1-2001 requires that the caller define this union. On versions of glibc where this union is \fInot\fP defined, the macro .B _SEM_SEMUN_UNDEFINED -is defined in <sys/sem.h>. +is defined in \fI<sys/sem.h>\fP. .PP The following system limit on semaphore sets affects a .BR semctl () diff --git a/man2/shmctl.2 b/man2/shmctl.2 index f2aebe0688..d5fd2b5253 100644 --- a/man2/shmctl.2 +++ b/man2/shmctl.2 @@ -60,7 +60,7 @@ on the shared memory segment whose identifier is given in The .I buf argument is a pointer to a \fIshmid_ds\fP structure, -defined in <sys/shm.h> as follows: +defined in \fI<sys/shm.h>\fP as follows: .PP .in +4n .nf @@ -80,7 +80,7 @@ struct shmid_ds { .PP The .I ipc_perm -structure is defined in <sys/ipc.h> as follows +structure is defined in \fI<sys/ipc.h>\fP as follows (the highlighted fields are settable using .BR IPC_SET ): .PP diff --git a/man2/signal.2 b/man2/signal.2 index 3b18415429..7a1a82e9f9 100644 --- a/man2/signal.2 +++ b/man2/signal.2 @@ -157,9 +157,9 @@ new instances of this signal from occurring during a call of the handler. The glibc2 library follows the BSD behavior. If one on a libc5 system includes -.B "<bsd/signal.h>" +.I <bsd/signal.h> instead of -.B "<signal.h>" +.I <signal.h> then .BR signal () is redefined as diff --git a/man2/statfs.2 b/man2/statfs.2 index 77d2675d7a..da9e45052c 100644 --- a/man2/statfs.2 +++ b/man2/statfs.2 @@ -190,8 +190,8 @@ and .BR fstatfs64 () to support this library call. -Some systems only have <sys/vfs.h>, other systems also have -<sys/statfs.h>, where the former includes the latter. +Some systems only have \fI<sys/vfs.h>\fP, other systems also have +\fI<sys/statfs.h>\fP, where the former includes the latter. So it seems including the former is the best choice. |
