aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2020-08-23 21:35:23 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2020-08-23 21:35:23 +0000
commit326923e0a1b1affb575d5814760dd82553268c81 (patch)
tree59789f06c23c38e725ca1921553efe2bfc5bdf0a /lib
parent12fd917a011bd41f6f03bb748cd4bb69062d3591 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/sendfile.29
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2
index 85825b7fdecb..226bff88f5d0 100644
--- a/lib/libc/sys/sendfile.2
+++ b/lib/libc/sys/sendfile.2
@@ -414,3 +414,12 @@ to
.Er EFAULT ,
if provided an invalid address for
.Fa sbytes .
+The
+.Fn sendfile
+system call does not support SCTP sockets,
+it will return
+.Dv -1
+and set
+.Va errno
+to
+.Er EINVAL.