]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3type/sockaddr{,_un}.3type: Split struct sockaddr_un from sockaddr(3type)
authorAlejandro Colomar <alx@kernel.org>
Mon, 24 Nov 2025 22:50:40 +0000 (23:50 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 25 Nov 2025 00:10:34 +0000 (01:10 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3type/sockaddr.3type
man/man3type/sockaddr_un.3type

index b04f042cbd7858066deb25ad0c95f19821db6108..f39b2cc8bee11e8e37d248a4b60ee1d8c32a0dc8 100644 (file)
@@ -4,7 +4,7 @@
 .\"
 .TH sockaddr 3type (date) "Linux man-pages (unreleased)"
 .SH NAME
-sockaddr, sockaddr_storage, sockaddr_un, socklen_t
+sockaddr, sockaddr_storage, socklen_t
 \- socket address
 .SH LIBRARY
 Standard C library
@@ -26,15 +26,6 @@ Standard C library
 .BR typedef " /* ... */ " sa_family_t;
 .P
 .EE
-.SS UNIX domain sockets
-.EX
-.B #include <sys/un.h>
-.P
-.B struct sockaddr_un {
-.BR "    sa_family_t     sun_family;" "     /* Address family */"
-.BR "    char            sun_path[];" "     /* Socket pathname */"
-.B };
-.EE
 .SH DESCRIPTION
 .TP
 .I sockaddr
@@ -62,9 +53,8 @@ See
 and
 .BR sockaddr_in6 (3type).
 .SS UNIX domain sockets
-.TP
-.I sockaddr_un
-Describes a UNIX domain socket address.
+See
+.BR sockaddr_un (3type).
 .SH STANDARDS
 POSIX.1-2024.
 .SH HISTORY
index 39e914c307538475b446ae61d8b19261d45f575f..347c59f88ae70606f9262fc81b6821afe0525674 100644 (file)
@@ -1 +1,30 @@
-.so man3type/sockaddr.3type
+.\" Copyright, the authors of the Linux man-pages project
+.\"
+.\" SPDX-License-Identifier: Linux-man-pages-copyleft
+.\"
+.TH sockaddr_un 3type (date) "Linux man-pages (unreleased)"
+.SH NAME
+sockaddr_un
+\- UNIX domain socket address
+.SH LIBRARY
+Standard C library
+.RI ( libc )
+.SH SYNOPSIS
+.EX
+.B #include <sys/un.h>
+.P
+.B struct sockaddr_un {
+.BR "    sa_family_t     sun_family;" "     /* Address family */"
+.BR "    char            sun_path[];" "     /* Socket pathname */"
+.B };
+.EE
+.SH DESCRIPTION
+.TP
+.I sockaddr_un
+Describes a UNIX domain socket address.
+.SH STANDARDS
+POSIX.1-2024.
+.SH HISTORY
+POSIX.1-2001.
+.SH SEE ALSO
+.BR sockaddr (3)