[v5,03/35] system_data_types.7: Add 'socklen_t'

Message ID 20210404115847.78166-4-alx.manpages@gmail.com
State New
Headers show
Series
  • Untitled series #36386
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 | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 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 | 28 ++++++++++++++++++++++++++++

>  1 file changed, 28 insertions(+)



Patch applied.

Thanks,

Michael


> 

> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7

> index 93c723a2f..e038aab1e 100644

> --- a/man7/system_data_types.7

> +++ b/man7/system_data_types.7

> @@ -1251,6 +1251,34 @@ POSIX.1-2001 and later.

>  .BR getsockname (2),

>  .BR socket (2)

>  .RE

> +.\"------------------------------------- socklen_t --------------------/

> +.TP

> +.I socklen_t

> +.RS

> +.IR Include :

> +.IR <sys/socket.h> .

> +Alternatively,

> +.IR <netdb.h> .

> +.PP

> +Describes the length of a socket address.

> +According to POSIX,

> +this shall be an integer type of at least 32 bits.

> +.PP

> +.IR "Conforming to" :

> +POSIX.1-2001 and later.

> +.PP

> +.IR "See also" :

> +.BR accept (2),

> +.BR bind (2),

> +.BR connect (2),

> +.BR gethostbyaddr (2),

> +.BR getnameinfo (2),

> +.BR socket (2)

> +.PP

> +See also the

> +.I sockaddr

> +structure in this page.

> +.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 93c723a2f..e038aab1e 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -1251,6 +1251,34 @@  POSIX.1-2001 and later.
 .BR getsockname (2),
 .BR socket (2)
 .RE
+.\"------------------------------------- socklen_t --------------------/
+.TP
+.I socklen_t
+.RS
+.IR Include :
+.IR <sys/socket.h> .
+Alternatively,
+.IR <netdb.h> .
+.PP
+Describes the length of a socket address.
+According to POSIX,
+this shall be an integer type of at least 32 bits.
+.PP
+.IR "Conforming to" :
+POSIX.1-2001 and later.
+.PP
+.IR "See also" :
+.BR accept (2),
+.BR bind (2),
+.BR connect (2),
+.BR gethostbyaddr (2),
+.BR getnameinfo (2),
+.BR socket (2)
+.PP
+See also the
+.I sockaddr
+structure in this page.
+.RE
 .\"------------------------------------- ssize_t ----------------------/
 .TP
 .I ssize_t