diff options
| -rw-r--r-- | man3/sockaddr-struct.3 | 22 | ||||
| -rw-r--r-- | man7/system_data_types.7 | 24 |
2 files changed, 21 insertions, 25 deletions
diff --git a/man3/sockaddr-struct.3 b/man3/sockaddr-struct.3 index db50c0f091..0847166a18 100644 --- a/man3/sockaddr-struct.3 +++ b/man3/sockaddr-struct.3 @@ -1 +1,21 @@ -.so man7/system_data_types.7 +.TH SOCKADDR 3 2022-02-24 Linux "Linux Programmer's Manual" +.SH NAME +sockaddr \- socket address +.SH SYNOPSIS +.nf +.B #include <sys/socket.h> +.PP +.B struct sockaddr { +.BR " sa_family_t sa_family;" " /* Address family */" +.BR " char sa_data[];" " /* Socket address */" +.B }; +.fi +.SH DESCRIPTION +Describes a socket address. +.SH CONFORMING TO +POSIX.1-2001 and later. +.SH SEE ALSO +.BR accept (2), +.BR getpeername (2), +.BR getsockname (2), +.BR socket (2) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 0166c569e1..d426b11c42 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -595,30 +595,6 @@ and types in this page. .RE .\"------------------------------------- sockaddr ---------------------/ -.TP -.I sockaddr -.RS -.IR Include : -.IR <sys/socket.h> . -.PP -.EX -struct sockaddr { - sa_family_t sa_family; /* Address family */ - char sa_data[]; /* Socket address */ -}; -.EE -.PP -Describes a socket address. -.PP -.IR "Conforming to" : -POSIX.1-2001 and later. -.PP -.IR "See also" : -.BR accept (2), -.BR getpeername (2), -.BR getsockname (2), -.BR socket (2) -.RE .\"------------------------------------- socklen_t --------------------/ .TP .I socklen_t |
