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

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

Commit Message

Vitaly Buka via Libc-alpha April 4, 2021, 11:58 a.m.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

---
 man7/system_data_types.7 | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

-- 
2.31.0

Comments

Vitaly Buka via Libc-alpha April 5, 2021, 10:40 a.m. | #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

> 



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

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