This commit is contained in:
Michael Kerrisk 2006-03-20 00:52:31 +00:00
parent c8a55a3d73
commit cd31a0d631
5 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -86,7 +86,7 @@ is defined in <unistd.h> 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

View File

@ -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"

View File

@ -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

View File

@ -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