diff mbox series

[v5,01/35] system_data_types.7: Add 'struct sockaddr'

Message ID 20210404115847.78166-2-alx.manpages@gmail.com
State Not Applicable
Headers show
Series [v5,01/35] system_data_types.7: Add 'struct sockaddr' | expand

Commit Message

Alejandro Colomar \(man-pages\) April 4, 2021, 11:58 a.m. UTC
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man7/system_data_types.7 | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Comments

Michael Kerrisk \(man-pages\) April 5, 2021, 10:40 a.m. UTC | #1
Hello Alex,

On 4/4/21 1:58 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
> ---
>  man7/system_data_types.7 | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)

Patch applied!

Thanks,

Michael

> 
> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index 5648ae500..93c723a2f 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -1226,6 +1226,31 @@ and
>  .I ssize_t
>  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
>  .\"------------------------------------- ssize_t ----------------------/
>  .TP
>  .I ssize_t
>
diff mbox series

Patch

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 5648ae500..93c723a2f 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -1226,6 +1226,31 @@  and
 .I ssize_t
 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
 .\"------------------------------------- ssize_t ----------------------/
 .TP
 .I ssize_t