mirror of https://github.com/mkerrisk/man-pages
Removed trailing white space at end of lines
This commit is contained in:
parent
af75eecea0
commit
3960d7a208
|
@ -94,7 +94,7 @@ have the same meaning as for
|
|||
|
||||
The
|
||||
.I local_iov
|
||||
and
|
||||
and
|
||||
.I remote_iov
|
||||
arguments point to an array of
|
||||
.I iovec
|
||||
|
@ -114,37 +114,37 @@ struct iovec {
|
|||
Buffers are processed in array order.
|
||||
This means that
|
||||
.BR process_vm_readv ()
|
||||
completely fills
|
||||
completely fills
|
||||
.I local_iov[0]
|
||||
before proceeding to
|
||||
before proceeding to
|
||||
.IR local_iov[1] ,
|
||||
and so on.
|
||||
Likewise,
|
||||
.I remote_iov[0]
|
||||
is completely read before proceeding to
|
||||
is completely read before proceeding to
|
||||
.IR remote_iov[1] ,
|
||||
and so on.
|
||||
|
||||
Similarly,
|
||||
.BR process_vm_writev ()
|
||||
writes out the entire contents of
|
||||
writes out the entire contents of
|
||||
.I local_iov[0]
|
||||
before proceeding to
|
||||
.IR local_iov[1] ,
|
||||
and it completely fills
|
||||
and it completely fills
|
||||
.I remote_iov[0]
|
||||
before proceeding to
|
||||
before proceeding to
|
||||
.IR remote_iov[1] .
|
||||
|
||||
The lengths of
|
||||
The lengths of
|
||||
.I remote_iov[i].iov_len
|
||||
and
|
||||
and
|
||||
.I local_iov[i].iov_len
|
||||
do not have to be the same.
|
||||
Thus, it is possible to split a single local buffer
|
||||
into multiple remote buffers, or vice versa.
|
||||
|
||||
The
|
||||
The
|
||||
.I flags
|
||||
argument is currently unused and must be set to 0.
|
||||
|
||||
|
@ -183,7 +183,7 @@ Keep this in mind when attempting to read data of unknown length
|
|||
by avoiding spanning memory pages (typically 4KiB) in a single remote
|
||||
.I iovec
|
||||
element.
|
||||
(Instead, split the remote read into two
|
||||
(Instead, split the remote read into two
|
||||
.I remote_iov
|
||||
elements and have them merge back into a single write
|
||||
.I local_iov
|
||||
|
@ -212,7 +212,7 @@ returns the number of bytes read and
|
|||
returns the number of bytes written.
|
||||
This return value may be less than the total number of requested bytes,
|
||||
if a partial read/write occurred.
|
||||
(Partial transfers apply at the granularity of
|
||||
(Partial transfers apply at the granularity of
|
||||
.I iovec
|
||||
elements.
|
||||
These system calls won't perform a partial transfer that splits a single
|
||||
|
@ -227,11 +227,11 @@ is set appropriately.
|
|||
.SH ERRORS
|
||||
.TP
|
||||
.B EINVAL
|
||||
The sum of the
|
||||
The sum of the
|
||||
.I iov_len
|
||||
values of either
|
||||
values of either
|
||||
.I local_iov
|
||||
or
|
||||
or
|
||||
.I remote_iov
|
||||
overflows a
|
||||
.I ssize_t
|
||||
|
@ -248,14 +248,14 @@ or
|
|||
is too large.
|
||||
.TP
|
||||
.B EFAULT
|
||||
The memory described by
|
||||
The memory described by
|
||||
.I local_iov
|
||||
is outside the caller's accessible address space.
|
||||
.TP
|
||||
.B EFAULT
|
||||
The memory described by
|
||||
The memory described by
|
||||
.I remote_iov
|
||||
is outside the accessible address space of the process
|
||||
is outside the accessible address space of the process
|
||||
.IR pid .
|
||||
.TP
|
||||
.B ENOMEM
|
||||
|
@ -293,7 +293,7 @@ when using, for example, shared memory or pipes).
|
|||
.SH EXAMPLE
|
||||
The following code sample demonstrates the use of
|
||||
.BR process_vm_readv ().
|
||||
It reads 20 bytes at the address 0x10000 from the process with PID 10
|
||||
It reads 20 bytes at the address 0x10000 from the process with PID 10
|
||||
and writes the first 10 bytes into
|
||||
.I buf1
|
||||
and the second 10 bytes into
|
||||
|
|
|
@ -30,7 +30,7 @@ mcheck, mcheck_check_all, mcheck_pedantic, mprobe - heap consistency checking
|
|||
.BI "int mcheck(void (*" abortfunc ")(enum mcheck_status " mstatus ));
|
||||
|
||||
.BI "int mcheck_pedantic(void (*" abortfunc ")(enum mcheck_status " mstatus ));
|
||||
|
||||
|
||||
.B void mcheck_check_all(void);
|
||||
|
||||
.BI "enum mcheck_status mprobe(void *" ptr );
|
||||
|
@ -104,7 +104,7 @@ The following list describes the values returned by
|
|||
.BR mprobe ()
|
||||
or passed as the
|
||||
.I mstatus
|
||||
argument when
|
||||
argument when
|
||||
.I abortfunc
|
||||
is invoked:
|
||||
.TP
|
||||
|
|
|
@ -59,7 +59,7 @@ stream to a remote command
|
|||
.BI " const char *" ruser ", const char *" luser );
|
||||
.sp
|
||||
.BI "int rcmd_af(char **" ahost ", int " inport ", const char *" locuser ", "
|
||||
.BI " const char *" remuser ", const char *" cmd ", int *" fd2p ,
|
||||
.BI " const char *" remuser ", const char *" cmd ", int *" fd2p ,
|
||||
.BI " sa_family_t " af );
|
||||
.sp
|
||||
.BI "int rresvport_af(int *" port ", sa_family_t " af );
|
||||
|
|
Loading…
Reference in New Issue