diff options
| author | Alejandro Colomar <alx@kernel.org> | 2025-11-24 23:50:40 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-11-25 01:10:34 +0100 |
| commit | 478516f0419c48b1df3acbc30a4d545151c67b9f (patch) | |
| tree | e67987f10d8270bee5cee94d9c56d5818d18ad90 | |
| parent | a4087e7b4523ec647fd1c326e8aa6efb3e151cc3 (diff) | |
| download | man-pages-478516f0419c48b1df3acbc30a4d545151c67b9f.tar.gz | |
man/man3type/sockaddr{,_un}.3type: Split struct sockaddr_un from sockaddr(3type)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man/man3type/sockaddr.3type | 16 | ||||
| -rw-r--r-- | man/man3type/sockaddr_un.3type | 31 |
2 files changed, 33 insertions, 14 deletions
diff --git a/man/man3type/sockaddr.3type b/man/man3type/sockaddr.3type index b04f042cbd..f39b2cc8be 100644 --- a/man/man3type/sockaddr.3type +++ b/man/man3type/sockaddr.3type @@ -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 diff --git a/man/man3type/sockaddr_un.3type b/man/man3type/sockaddr_un.3type index 39e914c307..347c59f88a 100644 --- a/man/man3type/sockaddr_un.3type +++ b/man/man3type/sockaddr_un.3type @@ -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) |
