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 /man3/sockaddr-struct.3 | |
| 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>
Diffstat (limited to 'man3/sockaddr-struct.3')
| -rw-r--r-- | man3/sockaddr-struct.3 | 22 |
1 files changed, 21 insertions, 1 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) |
