diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-02-24 23:12:58 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-02-24 23:25:50 +0100 |
| commit | 04c91a35d8b36f21c50d259146e60fc5a02a2169 (patch) | |
| tree | dfa5fe0c133abbd2ae4553f0d26270f6e67b09e7 | |
| parent | db6bea1fdb139de4e5303279eb9ee4314ee37bfd (diff) | |
| download | man-pages-04c91a35d8b36f21c50d259146e60fc5a02a2169.tar.gz | |
sockaddr-struct.3, system_data_types.3: Move sockaddr to sockaddr-struct.3
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
| -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 |
