summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-04-27 10:58:21 +1200
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-04-27 10:58:21 +1200
commit3960d7a2086d4406566bf958e17f02f36bab86e4 (patch)
tree794c250cb996eae413c2a03ead7032e4b95dda8e
parentaf75eecea0fc7f3ecce14b6b82120a2b3d579a54 (diff)
Removed trailing white space at end of lines
-rw-r--r--man2/process_vm_readv.238
-rw-r--r--man3/mcheck.34
-rw-r--r--man3/rcmd.32
3 files changed, 22 insertions, 22 deletions
diff --git a/man2/process_vm_readv.2 b/man2/process_vm_readv.2
index ac97c6a17..14e030ab0 100644
--- a/man2/process_vm_readv.2
+++ b/man2/process_vm_readv.2
@@ -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
diff --git a/man3/mcheck.3 b/man3/mcheck.3
index 62f50fefd..273305235 100644
--- a/man3/mcheck.3
+++ b/man3/mcheck.3
@@ -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
diff --git a/man3/rcmd.3 b/man3/rcmd.3
index 9d1fe8b77..d31cda812 100644
--- a/man3/rcmd.3
+++ b/man3/rcmd.3
@@ -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 );