svn commit: r344357 - stable/12/lib/libc/sys
Sergey Kandaurov
pluknet at FreeBSD.org
Wed Feb 20 11:56:31 UTC 2019
Author: pluknet
Date: Wed Feb 20 11:56:30 2019
New Revision: 344357
URL: https://svnweb.freebsd.org/changeset/base/344357
Log:
MFC r343945:
Document the ENOBUFS errno in setsockopt(2).
PR: 200649
Modified:
stable/12/lib/libc/sys/getsockopt.2
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/lib/libc/sys/getsockopt.2
==============================================================================
--- stable/12/lib/libc/sys/getsockopt.2 Wed Feb 20 10:22:48 2019 (r344356)
+++ stable/12/lib/libc/sys/getsockopt.2 Wed Feb 20 11:56:30 2019 (r344357)
@@ -28,7 +28,7 @@
.\" @(#)getsockopt.2 8.4 (Berkeley) 5/2/95
.\" $FreeBSD$
.\"
-.Dd August 21, 2018
+.Dd February 10, 2019
.Dt GETSOCKOPT 2
.Os
.Sh NAME
@@ -534,7 +534,11 @@ transfer rate to the given unsigned 32-bit value in by
.Sh RETURN VALUES
.Rv -std
.Sh ERRORS
-The call succeeds unless:
+The
+.Fn getsockopt
+and
+.Fn setsockopt
+system calls succeed unless:
.Bl -tag -width Er
.It Bq Er EBADF
The argument
@@ -561,6 +565,15 @@ Installing an
on a non-listening socket was attempted.
.It Bq Er ENOMEM
A memory allocation failed that was required to service the request.
+.El
+.Pp
+The
+.Fn setsockopt
+system call may also return the following error:
+.Bl -tag -width Er
+.It Bq Er ENOBUFS
+Insufficient resources were available in the system
+to perform the operation.
.El
.Sh SEE ALSO
.Xr ioctl 2 ,
More information about the svn-src-stable-12
mailing list