mirror of https://github.com/mkerrisk/man-pages
Compare commits
12 Commits
daa754a4d6
...
77a4c23215
Author | SHA1 | Date |
---|---|---|
Michael Kerrisk | 77a4c23215 | |
Michael Kerrisk | 8a5fc410a9 | |
Alejandro Colomar | 77251857af | |
Alejandro Colomar | 9c9a5acaa2 | |
Pali Rohár | 15af0ac10a | |
Michael Kerrisk | 847487d17f | |
Pali Rohár | 4d3e4af379 | |
Michael Kerrisk | f45affce7f | |
Michael Kerrisk | bf4f7a7867 | |
Michael Kerrisk | db141dbfca | |
Michael Kerrisk | d99b5be0d8 | |
Pali Rohár | 44803dd03b |
|
@ -54783,7 +54783,7 @@ Changes to individual pages
|
|||
iconv.1
|
||||
iconvconfig.8
|
||||
Michael Kerrisk [Christopher Yeleighton]
|
||||
FILES: note that files may be under /usr/lib64 rather than /lib/64
|
||||
FILES: note that files may be under /usr/lib64 rather than /usr/lib
|
||||
See https://bugzilla.kernel.org/show_bug.cgi?id=214163
|
||||
|
||||
ldd.1
|
||||
|
|
21
man2/_exit.2
21
man2/_exit.2
|
@ -112,14 +112,14 @@ canceled upon
|
|||
.BR _exit (),
|
||||
is implementation-dependent.
|
||||
.SS C library/kernel differences
|
||||
In glibc up to version 2.3, the
|
||||
.BR _exit ()
|
||||
wrapper function invoked the kernel system call of the same name.
|
||||
Since glibc 2.3, the wrapper function invokes
|
||||
.BR exit_group (2),
|
||||
in order to terminate all of the threads in a process.
|
||||
The text above in DESCRIPTION describes the traditional effect of
|
||||
.BR _exit (),
|
||||
which is to terminate a process,
|
||||
and these are the semantics specified by POSIIX.1 and implemented
|
||||
by the C library wrapper function.
|
||||
On modern systems, this means termination of all threads in the process.
|
||||
.PP
|
||||
The raw
|
||||
By contrast with the C library wrapper function, the raw Linux
|
||||
.BR _exit ()
|
||||
system call terminates only the calling thread, and actions such as
|
||||
reparenting child processes or sending
|
||||
|
@ -127,6 +127,13 @@ reparenting child processes or sending
|
|||
to the parent process are performed only if this is
|
||||
the last thread in the thread group.
|
||||
.\" _exit() is used by pthread_exit() to terminate the calling thread
|
||||
.PP
|
||||
In glibc up to version 2.3, the
|
||||
.BR _exit ()
|
||||
wrapper function invoked the kernel system call of the same name.
|
||||
Since glibc 2.3, the wrapper function invokes
|
||||
.BR exit_group (2),
|
||||
in order to terminate all of the threads in a process.
|
||||
.SH SEE ALSO
|
||||
.BR execve (2),
|
||||
.BR exit_group (2),
|
||||
|
|
|
@ -39,9 +39,7 @@ glibc provides no wrapper for
|
|||
necessitating the use of
|
||||
.BR syscall (2).
|
||||
.SH DESCRIPTION
|
||||
This system call is equivalent to
|
||||
.BR _exit (2)
|
||||
except that it terminates not only the calling thread, but all threads
|
||||
This system call terminates all threads
|
||||
in the calling process's thread group.
|
||||
.SH RETURN VALUE
|
||||
This system call does not return.
|
||||
|
@ -54,4 +52,4 @@ Since glibc 2.3, this is the system call invoked when the
|
|||
.BR _exit (2)
|
||||
wrapper function is called.
|
||||
.SH SEE ALSO
|
||||
.BR exit (2)
|
||||
.BR _exit (2)
|
||||
|
|
|
@ -386,6 +386,9 @@ Set the foreground process group ID of this terminal.
|
|||
Argument:
|
||||
.BI "pid_t *" argp
|
||||
.IP
|
||||
When successful, equivalent to
|
||||
.IR "*argp = tcgetsid(fd)" .
|
||||
.IP
|
||||
Get the session ID of the given terminal.
|
||||
This fails with the error
|
||||
.B ENOTTY
|
||||
|
|
|
@ -987,7 +987,9 @@ constant is defined prior to using it.
|
|||
The zero baud rate,
|
||||
.BR B0 ,
|
||||
is used to terminate the connection.
|
||||
If B0 is specified, the modem control lines shall no longer be asserted.
|
||||
If
|
||||
.B B0
|
||||
is specified, the modem control lines shall no longer be asserted.
|
||||
Normally, this will disconnect the line.
|
||||
.B CBAUDEX
|
||||
is a mask
|
||||
|
@ -1017,7 +1019,11 @@ which must be specified as one of the
|
|||
.BI B nnn
|
||||
constants listed above for
|
||||
.BR cfsetospeed ().
|
||||
If the input baud rate is set to zero, the input baud rate will be
|
||||
If the input baud rate is set to the literal constant
|
||||
.B 0
|
||||
(not the symbolic constant
|
||||
.BR B0 ),
|
||||
the input baud rate will be
|
||||
equal to the output baud rate.
|
||||
.PP
|
||||
.BR cfsetspeed ()
|
||||
|
|
25
man5/proc.5
25
man5/proc.5
|
@ -1519,8 +1519,11 @@ See
|
|||
for a description of these fields.
|
||||
Parsers should ignore all unrecognized optional fields.
|
||||
.IP
|
||||
For more information on mount propagation see:
|
||||
For more information on mount propagation see
|
||||
.I Documentation/filesystems/sharedsubtree.rst
|
||||
(or
|
||||
.I Documentation/filesystems/sharedsubtree.txt
|
||||
before Linux 5.8)
|
||||
in the Linux kernel source tree.
|
||||
.TP
|
||||
.IR /proc/[pid]/mounts " (since Linux 2.4.19)"
|
||||
|
@ -3159,7 +3162,10 @@ This can be used by MAKEDEV scripts for consistency with the kernel.
|
|||
.IR /proc/diskstats " (since Linux 2.5.69)"
|
||||
This file contains disk I/O statistics for each disk device.
|
||||
See the Linux kernel source file
|
||||
.I ./Documentation/admin\-guide/iostats.rst
|
||||
(or
|
||||
.I Documentation/iostats.txt
|
||||
before Linux 5.3)
|
||||
for further information.
|
||||
.TP
|
||||
.I /proc/dma
|
||||
|
@ -3831,9 +3837,11 @@ The format of this file is documented in
|
|||
.I /proc/mtrr
|
||||
Memory Type Range Registers.
|
||||
See the Linux kernel source file
|
||||
.I Documentation/x86/mtrr.rst
|
||||
(or
|
||||
.I Documentation/x86/mtrr.txt
|
||||
.\" commit 7225e75144b9718cbbe1820d9c011c809d5773fd
|
||||
(or
|
||||
before Linux 5.2, or
|
||||
.I Documentation/mtrr.txt
|
||||
before Linux 2.6.28)
|
||||
for details.
|
||||
|
@ -4375,7 +4383,10 @@ Using other separators leads to the error
|
|||
This directory may contain files with application binary information.
|
||||
.\" On some systems, it is not present.
|
||||
See the Linux kernel source file
|
||||
.I Documentation/sysctl/abi.rst
|
||||
(or
|
||||
.I Documentation/sysctl/abi.txt
|
||||
before Linux 5.3)
|
||||
for more information.
|
||||
.TP
|
||||
.I /proc/sys/debug
|
||||
|
@ -6843,9 +6854,9 @@ of thing that needs to be updated very often.
|
|||
.BR sysctl (8)
|
||||
.PP
|
||||
The Linux kernel source files:
|
||||
.IR Documentation/filesystems/proc.txt ,
|
||||
.IR Documentation/sysctl/fs.txt ,
|
||||
.IR Documentation/sysctl/kernel.txt ,
|
||||
.IR Documentation/sysctl/net.txt ,
|
||||
.IR Documentation/filesystems/proc.rst ,
|
||||
.IR Documentation/admin\-guide/sysctl/fs.rst ,
|
||||
.IR Documentation/admin\-guide/sysctl/kernel.rst ,
|
||||
.IR Documentation/admin\-guide/sysctl/net.rst ,
|
||||
and
|
||||
.IR Documentation/sysctl/vm.txt .
|
||||
.IR Documentation/admin\-guide/sysctl/vm.rst .
|
||||
|
|
|
@ -701,7 +701,7 @@ as for a bind operation on each mount in the subtree.
|
|||
(Unbindable mounts are automatically pruned at the target mount point.)
|
||||
.PP
|
||||
For further details, see
|
||||
.I Documentation/filesystems/sharedsubtree.txt
|
||||
.I Documentation/filesystems/sharedsubtree.rst
|
||||
in the kernel source tree.
|
||||
.\"
|
||||
.SS Move (MS_MOVE) semantics
|
||||
|
@ -743,7 +743,7 @@ dest(B) shared shared shared slave+shared invalid
|
|||
Note: moving a mount that resides under a shared mount is invalid.
|
||||
.PP
|
||||
For further details, see
|
||||
.I Documentation/filesystems/sharedsubtree.txt
|
||||
.I Documentation/filesystems/sharedsubtree.rst
|
||||
in the kernel source tree.
|
||||
.\"
|
||||
.SS Mount semantics
|
||||
|
@ -1039,7 +1039,7 @@ For a discussion of propagation types when moving mounts
|
|||
and creating bind mounts
|
||||
.RB ( MS_BIND ),
|
||||
see
|
||||
.IR Documentation/filesystems/sharedsubtree.txt .
|
||||
.IR Documentation/filesystems/sharedsubtree.rst .
|
||||
.\"
|
||||
.\" ============================================================
|
||||
.\"
|
||||
|
@ -1346,5 +1346,5 @@ See
|
|||
.BR pivot_root (8),
|
||||
.BR umount (8)
|
||||
.PP
|
||||
.IR Documentation/filesystems/sharedsubtree.txt
|
||||
.IR Documentation/filesystems/sharedsubtree.rst
|
||||
in the kernel source tree.
|
||||
|
|
|
@ -47,12 +47,13 @@ This manual page lists C operators and their precedence in evaluation.
|
|||
lb lb lb
|
||||
l l l.
|
||||
Operator Associativity Notes
|
||||
() [] \-> . ++ \-\- left to right [1]
|
||||
! \(ti ++ \-\- + \- (type) * & sizeof right to left [2]
|
||||
[] () . \-> ++ \-\- left to right [1]
|
||||
++ \-\- & * + \- \(ti ! sizeof right to left [2]
|
||||
(type) right to left
|
||||
* / % left to right
|
||||
+ \- left to right
|
||||
<< >> left to right
|
||||
< <= > >= left to right
|
||||
< > <= >= left to right
|
||||
== != left to right
|
||||
& left to right
|
||||
\(ha left to right
|
||||
|
@ -60,7 +61,7 @@ Operator Associativity Notes
|
|||
&& left to right
|
||||
|| left to right
|
||||
?: right to left
|
||||
= += \-= *= /= %= <<= >>= &= \(ha= |= right to left
|
||||
= *= /= %= += \-= <<= >>= &= \(ha= |= right to left
|
||||
, left to right
|
||||
.TE
|
||||
.PP
|
||||
|
|
Loading…
Reference in New Issue