]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r339343,r343444:
authorngie <ngie@FreeBSD.org>
Tue, 12 Feb 2019 02:57:34 +0000 (02:57 +0000)
committerngie <ngie@FreeBSD.org>
Tue, 12 Feb 2019 02:57:34 +0000 (02:57 +0000)
commit18777d00085732d47f00bf61b3dbee1cc62d7fbb
tree202f1f8924e0dd80c78d24d36aa8d23c813f5b88
parent759391276da1ccc01e87cdef61f9c46a70c92b79
MFC r339343,r343444:

r339343 (by allanjude):

Document that sendfile(2) can return ENOTCAPABLE

PR: 232207

r343444:

Document that `sendfile` will return an invalid value for `sbytes` if provided an invalid address

This is meant to clarify the fact that the system call will not fail
with -1/EFAULT, as one might expect, when reading the sendfile(2)
manpage today.

While here, pet the mandoc linter, when dealing with the section that
describes valid values for `flags`.

PR: 232210
Approved by: jtl (mentor)
Differential Revision: https://reviews.freebsd.org/D19150
lib/libc/sys/sendfile.2