clone.2, io_submit.2, select.2, shmget.2, getcontext.3, malloc_info.3, mtrace.3, posix_spawn.3, strfromd.3, proc.5: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-09-29 14:24:12 +02:00
parent c37e8cfb04
commit 161b8eda4d
10 changed files with 21 additions and 21 deletions

View File

@ -1615,7 +1615,7 @@ as detailed in the following paragraphs.
The raw system call interface on x86-64 and some other architectures
(including sh, tile, and alpha) is:
.PP
.in +4
.in +4n
.EX
.BI "long clone(unsigned long " flags ", void *" stack ,
.BI " int *" parent_tid ", int *" child_tid ,
@ -1629,7 +1629,7 @@ and MIPS),
.\" CONFIG_CLONE_BACKWARDS
the order of the last two arguments is reversed:
.PP
.in +4
.in +4n
.EX
.BI "long clone(unsigned long " flags ", void *" stack ,
.BI " int *" parent_tid ", unsigned long " tls ,
@ -1641,7 +1641,7 @@ On the cris and s390 architectures,
.\" CONFIG_CLONE_BACKWARDS2
the order of the first two arguments is reversed:
.PP
.in +4
.in +4n
.EX
.BI "long clone(void *" stack ", unsigned long " flags ,
.BI " int *" parent_tid ", int *" child_tid ,
@ -1653,7 +1653,7 @@ On the microblaze architecture,
.\" CONFIG_CLONE_BACKWARDS3
an additional argument is supplied:
.PP
.in +4
.in +4n
.EX
.BI "long clone(unsigned long " flags ", void *" stack ,
.BI " int " stack_size , "\fR /* Size of stack */"
@ -1672,7 +1672,7 @@ For details, see the kernel (and glibc) source.
.SS ia64
On ia64, a different interface is used:
.PP
.in +4
.in +4n
.EX
.BI "int __clone2(int (*" "fn" ")(void *),"
.BI " void *" stack_base ", size_t " stack_size ,
@ -1688,7 +1688,7 @@ the prototype can be described as follows (it is identical to the
.BR clone ()
prototype on microblaze):
.PP
.in +4
.in +4n
.EX
.BI "long clone2(unsigned long " flags ", void *" stack_base ,
.BI " int " stack_size , "\fR /* Size of stack */"

View File

@ -136,7 +136,7 @@ The
valid values are defined by the enum defined in
.IR linux/aio_abi.h :
.IP
.in +4
.in +4n
.EX
enum {
IOCB_CMD_PREAD = 0,

View File

@ -599,7 +599,7 @@ system call is not a
.I "sigset_t\ *"
pointer, but is instead a structure of the form:
.PP
.in +4
.in +4n
.EX
struct {
const kernel_sigset_t *ss; /* Pointer to signal set */

View File

@ -133,7 +133,7 @@ the base-2 logarithm of the desired page size in the six bits at the offset
.BR SHM_HUGE_SHIFT .
Thus, the above two constants are defined as:
.IP
.in +4
.in +4n
.EX
#define SHM_HUGE_2MB (21 << SHM_HUGE_SHIFT)
#define SHM_HUGE_1GB (30 << SHM_HUGE_SHIFT)

View File

@ -55,7 +55,7 @@ The
type is a structure that has at least
the following fields:
.PP
.in +4
.in +4n
.EX
typedef struct ucontext_t {
struct ucontext_t *uc_link;

View File

@ -121,7 +121,7 @@ After the blocks of memory have been allocated,
.BR malloc_info ()
shows the state of two allocation arenas.
.PP
.in +4
.in +4n
.EX
.RB "$ " "getconf GNU_LIBC_VERSION"
glibc 2.13

View File

@ -135,7 +135,7 @@ function and the
command in a program that has memory leaks at two different locations.
The demonstration uses the following program:
.PP
.in +4
.in +4n
.EX
.RB "$ " "cat t_mtrace.c"
#include <mcheck.h>

View File

@ -613,7 +613,7 @@ command is executed in the child, and the
.BR posix_spawn ()
call employs no file actions or attributes objects.
.PP
.in +4
.in +4n
.EX
$ \fB./a.out date\fP
PID of child: 7634
@ -630,7 +630,7 @@ Consequently,
.BR date (1)
fails when trying to perform output and exits with a status of 1.
.PP
.in +4
.in +4n
.EX
$ \fB./a.out \-c date\fP
PID of child: 7636
@ -654,7 +654,7 @@ is necessary
.RB ( SIGKILL
can't be blocked).
.PP
.in +4
.in +4n
.EX
$ \fB./a.out \-s sleep 60 &\fP
[1] 7637
@ -671,7 +671,7 @@ When we try to execute a nonexistent command in the child, the
.BR exec (3)
fails and the child exits with a status of 127.
.PP
.in +4
.in +4n
.EX
$ \fB./a.out xxxxx
PID of child: 10190

View File

@ -210,7 +210,7 @@ category of the current locale.
To convert the value 12.1 as a float type to a string using decimal
notation, resulting in "12.100000":
.PP
.in +4
.in +4n
.EX
#define __STDC_WANT_IEC_60559_BFP_EXT__
#include <stdlib.h>
@ -223,7 +223,7 @@ strfromf(s, ssize, "%f", 12.1);
To convert the value 12.3456 as a float type to a string using
decimal notation with two digits of precision, resulting in "12.35":
.PP
.in +4
.in +4n
.EX
#define __STDC_WANT_IEC_60559_BFP_EXT__
#include <stdlib.h>
@ -236,7 +236,7 @@ strfromf(s, ssize, "%.2f", 12.3456);
To convert the value 12.345e19 as a double type to a string using
scientific notation with zero digits of precision, resulting in "1E+20":
.PP
.in +4
.in +4n
.EX
#define __STDC_WANT_IEC_60559_BFP_EXT__
#include <stdlib.h>

View File

@ -1311,7 +1311,7 @@ The
.I perms
field is a set of permissions:
.IP
.in +4
.in +4n
.EX
r = read
w = write
@ -3883,7 +3883,7 @@ Inter\-| Receive | Transmit
Defined in
.IR /usr/src/linux/net/core/dev_mcast.c :
.IP
.in +4
.in +4n
.EX
indx interface_name dmi_u dmi_g dmi_address
2 eth0 1 0 01005e000001