aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2023-11-18 09:02:12 +0000
committerGordon Bergling <gbe@FreeBSD.org>2023-11-18 09:02:12 +0000
commitfa9f74220146233b7224da7c94870540dc39ae68 (patch)
treebd281ade43002a48d6aec29640171d8461990e75 /lib/libc/gen
parent34a6ad848fbf471773a430a7e457bf49816e756e (diff)
downloadsrc-fa9f74220146233b7224da7c94870540dc39ae68.tar.gz
src-fa9f74220146233b7224da7c94870540dc39ae68.zip
getpeerid.3: Clarify the 's' argument
The argument 's' of getpeerid(3) must be a connected UNIX-domain socket, so document it. PR: 248614 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42629
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/getpeereid.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/getpeereid.3 b/lib/libc/gen/getpeereid.3
index 204dec041d8f..8e3b763f716a 100644
--- a/lib/libc/gen/getpeereid.3
+++ b/lib/libc/gen/getpeereid.3
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd November 28, 2022
+.Dd November 16, 2023
.Dt GETPEEREID 3
.Os
.Sh NAME
@@ -44,7 +44,7 @@ peer connected to a
socket.
The argument
.Fa s
-must be a
+must be a connected
.Ux Ns -domain
socket
.Pq Xr unix 4