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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And another question about a different part of the page:

> +.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?

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux