mirror of https://github.com/mkerrisk/man-pages
spfix
This commit is contained in:
parent
c8a55a3d73
commit
cd31a0d631
|
@ -282,11 +282,11 @@ Quoting Linus Torvalds:
|
||||||
.\" .I fails: only italicizes a single line
|
.\" .I fails: only italicizes a single line
|
||||||
"_Any_ sane library _must_ have "socklen_t" be the same size
|
"_Any_ sane library _must_ have "socklen_t" be the same size
|
||||||
as int. Anything else breaks any BSD socket layer stuff.
|
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
|
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
|
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
|
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.
|
interface is.
|
||||||
Anyway, the POSIX people eventually got a clue, and created "socklen_t".
|
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
|
They shouldn't have touched it in the first place, but once they did
|
||||||
|
|
|
@ -86,7 +86,7 @@ is defined in <unistd.h> to a value greater than 0. (See also
|
||||||
.\" -1: unavailable, 0: ask using sysconf().
|
.\" -1: unavailable, 0: ask using sysconf().
|
||||||
.\" glibc defines them to 1.
|
.\" glibc defines them to 1.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
POSIX1b (formerly POSIX.4)
|
POSIX.1b (formerly POSIX.4)
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR fsync (2)
|
.BR fsync (2)
|
||||||
.br
|
.br
|
||||||
|
|
|
@ -104,7 +104,7 @@ on the system timer resolution and on the system load.
|
||||||
(But see BUGS below.)
|
(But see BUGS below.)
|
||||||
Upon expiration, a signal will be generated and the timer reset.
|
Upon expiration, a signal will be generated and the timer reset.
|
||||||
If the timer expires while the process is active (always true for
|
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
|
the signal will be delivered immediately when generated. Otherwise the
|
||||||
delivery will be offset by a small time dependent on the system loading.
|
delivery will be offset by a small time dependent on the system loading.
|
||||||
.LP
|
.LP
|
||||||
|
@ -124,7 +124,7 @@ are not valid pointers.
|
||||||
.I which
|
.I which
|
||||||
is not one of
|
is not one of
|
||||||
.BR ITIMER_REAL ,
|
.BR ITIMER_REAL ,
|
||||||
.BR ITIMER_VIRT ,
|
.BR ITIMER_VIRTUAL ,
|
||||||
or
|
or
|
||||||
.BR ITIMER_PROF .
|
.BR ITIMER_PROF .
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
|
|
|
@ -260,7 +260,7 @@ dependent (currently 4096, was 128 before Linux 2.3.99;
|
||||||
on Linux, this limit can be read and modified via
|
on Linux, this limit can be read and modified via
|
||||||
.IR /proc/sys/kernel/shmmni ).
|
.IR /proc/sys/kernel/shmmni ).
|
||||||
.\" Kernels between 2.4.x and 2.6.8 had an off-by-one error that meant
|
.\" 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
|
.\" This /proc file is not available in Linux 2.2 and earlier -- MTK
|
||||||
.PP
|
.PP
|
||||||
The implementation has no specific limits for the per process maximum
|
The implementation has no specific limits for the per process maximum
|
||||||
|
|
|
@ -80,7 +80,7 @@ size required to execute a signal handler.
|
||||||
|
|
||||||
When a signal handler is invoked on the alternate stack,
|
When a signal handler is invoked on the alternate stack,
|
||||||
the kernel automatically aligns the address given in \fIss.ss_sp\fP
|
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
|
To disable an existing stack, specify \fIss.ss_flags\fP
|
||||||
as \fBSS_DISABLE\fP. In this case, the remaining fields
|
as \fBSS_DISABLE\fP. In this case, the remaining fields
|
||||||
|
|
Loading…
Reference in New Issue