Thread (1 message) 1 message, 1 author, 2012-03-21

Re: [PATCH] process_vm_{read,write}v(3): initial man pages

From: Mike Frysinger <hidden>
Date: 2012-03-21 04:09:25

On Tuesday 20 March 2012 02:30:29 Michael Kerrisk (man-pages) wrote:
And another question about a different part of the page:
quoted
+.SH "RETURN VALUE"
+On success,
+.BR process_vm_readv ()
+returns the number of bytes read while
+.BR process_vm_writev ()
+returns the number of bytes written.
+
+On error, the number of bytes read or written is returned, or -1 is
+returned if it was unable to read/write any bytes; in either case,
+.I errno
+is set appropriately.
Is that last piece really true? On error, how does the syscall return
number of bytes read or written *and* set errno?
yeah, this was a mistranslation by me from the .txt to the man page
-mike

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help