| 1 |
.\" Copyright, the authors of the Linux man-pages project |
| 2 |
.\" |
| 3 |
.\" SPDX-License-Identifier: Linux-man-pages-copyleft |
| 4 |
.\" |
| 5 |
.TH sockaddr_un 3type 2025-11-25 "Linux man-pages 6.18" |
| 6 |
.SH NAME |
| 7 |
sockaddr_un |
| 8 |
\- UNIX domain socket address |
| 9 |
.SH LIBRARY |
| 10 |
Standard C library |
| 11 |
.RI ( libc ) |
| 12 |
.SH SYNOPSIS |
| 13 |
.EX |
| 14 |
.B #include <sys/un.h> |
| 15 |
.P |
| 16 |
.B struct sockaddr_un { |
| 17 |
.BR " sa_family_t sun_family;" " /* Address family */" |
| 18 |
.BR " char sun_path[];" " /* Socket pathname */" |
| 19 |
.B }; |
| 20 |
.EE |
| 21 |
.SH DESCRIPTION |
| 22 |
.TP |
| 23 |
.I sockaddr_un |
| 24 |
Describes a UNIX domain socket address. |
| 25 |
.SH STANDARDS |
| 26 |
POSIX.1-2024. |
| 27 |
.SH HISTORY |
| 28 |
POSIX.1-2001. |
| 29 |
.SH SEE ALSO |
| 30 |
.BR sockaddr (3) |