Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2019 11:56:30 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r344357 - stable/12/lib/libc/sys
Message-ID:  <201902201156.x1KBuULe069162@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902201156.x1KBuULe069162>