git: edb6d4f50d9e - stable/14 - getpeerid.3: Clarify the 's' argument
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Nov 2023 06:49:39 UTC
The branch stable/14 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=edb6d4f50d9ea5a57dfc01964e950b5fb3a7e0fa
commit edb6d4f50d9ea5a57dfc01964e950b5fb3a7e0fa
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-11-18 09:02:12 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-11-21 06:49:28 +0000
getpeerid.3: Clarify the 's' argument
The argument 's' of getpeerid(3) must be a connected UNIX-domain socket,
so document it.
PR: 248614
Differential Revision: https://reviews.freebsd.org/D42629
(cherry picked from commit fa9f74220146233b7224da7c94870540dc39ae68)
---
lib/libc/gen/getpeereid.3 | 4 ++--
1 file 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