From cd31a0d631abf8d4678748b930c842f5a16a3a6f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 20 Mar 2006 00:52:31 +0000 Subject: [PATCH] spfix --- man2/accept.2 | 4 ++-- man2/fdatasync.2 | 2 +- man2/getitimer.2 | 4 ++-- man2/shmget.2 | 2 +- man2/sigaltstack.2 | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/man2/accept.2 b/man2/accept.2 index ba0015751..8415a16c6 100644 --- a/man2/accept.2 +++ b/man2/accept.2 @@ -282,11 +282,11 @@ Quoting Linus Torvalds: .\" .I fails: only italicizes a single line "_Any_ sane library _must_ have "socklen_t" be the same size as int. Anything else breaks any BSD socket layer stuff. -POSIX initially _did_ make it a size_t, and I (and hopefully others, but +POSIX initially \fIdid\fP make it a size_t, and I (and hopefully others, but obviously not too many) complained to them very loudly indeed. Making it a size_t is completely broken, exactly because size_t very seldom is the same size as "int" on 64-bit architectures, for example. And it -_has_ to be the same size as "int" because that's what the BSD socket +\fIhas\fP to be the same size as "int" because that's what the BSD socket interface is. Anyway, the POSIX people eventually got a clue, and created "socklen_t". They shouldn't have touched it in the first place, but once they did diff --git a/man2/fdatasync.2 b/man2/fdatasync.2 index af9f2b4c9..3a8ff31e2 100644 --- a/man2/fdatasync.2 +++ b/man2/fdatasync.2 @@ -86,7 +86,7 @@ is defined in to a value greater than 0. (See also .\" -1: unavailable, 0: ask using sysconf(). .\" glibc defines them to 1. .SH "CONFORMING TO" -POSIX1b (formerly POSIX.4) +POSIX.1b (formerly POSIX.4) .SH "SEE ALSO" .BR fsync (2) .br diff --git a/man2/getitimer.2 b/man2/getitimer.2 index a552d1f5d..43ab7decb 100644 --- a/man2/getitimer.2 +++ b/man2/getitimer.2 @@ -104,7 +104,7 @@ on the system timer resolution and on the system load. (But see BUGS below.) Upon expiration, a signal will be generated and the timer reset. If the timer expires while the process is active (always true for -.BR ITIMER_VIRT ) +.BR ITIMER_VIRTUAL ) the signal will be delivered immediately when generated. Otherwise the delivery will be offset by a small time dependent on the system loading. .LP @@ -124,7 +124,7 @@ are not valid pointers. .I which is not one of .BR ITIMER_REAL , -.BR ITIMER_VIRT , +.BR ITIMER_VIRTUAL , or .BR ITIMER_PROF . .SH "CONFORMING TO" diff --git a/man2/shmget.2 b/man2/shmget.2 index 52c572ebb..9ddd3059e 100644 --- a/man2/shmget.2 +++ b/man2/shmget.2 @@ -260,7 +260,7 @@ dependent (currently 4096, was 128 before Linux 2.3.99; on Linux, this limit can be read and modified via .IR /proc/sys/kernel/shmmni ). .\" Kernels between 2.4.x and 2.6.8 had an off-by-one error that meant -.\" that we could create one more segment than SHMNI -- MTK +.\" that we could create one more segment than SHMMNI -- MTK .\" This /proc file is not available in Linux 2.2 and earlier -- MTK .PP The implementation has no specific limits for the per process maximum diff --git a/man2/sigaltstack.2 b/man2/sigaltstack.2 index bd31d834a..724ebcad5 100644 --- a/man2/sigaltstack.2 +++ b/man2/sigaltstack.2 @@ -80,7 +80,7 @@ size required to execute a signal handler. When a signal handler is invoked on the alternate stack, the kernel automatically aligns the address given in \fIss.ss_sp\fP -to a suitable address bundary for the underlying hardware architecture. +to a suitable address boundary for the underlying hardware architecture. To disable an existing stack, specify \fIss.ss_flags\fP as \fBSS_DISABLE\fP. In this case, the remaining fields