[PATCH v5 03/35] system_data_types.7: Add 'socklen_t'
Alejandro Colomar
alx.manpages@gmail.com
Sun Apr 4 11:58:16 GMT 2021
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
man7/system_data_types.7 | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
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
--
2.31.0
More information about the Libc-alpha
mailing list