From: Alejandro Colomar Date: Fri, 29 Jul 2022 22:29:31 +0000 (+0200) Subject: sa_family_t.3type, sockaddr.3type: Document sa_family_t X-Git-Tag: man-pages-6.0-rc1~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea8bd4ff75c53791e46834abc3d7b27b46426af8;p=thirdparty%2Fman-pages.git sa_family_t.3type, sockaddr.3type: Document sa_family_t Signed-off-by: Alejandro Colomar --- diff --git a/man3type/sa_family_t.3type b/man3type/sa_family_t.3type new file mode 100644 index 0000000000..39e914c307 --- /dev/null +++ b/man3type/sa_family_t.3type @@ -0,0 +1 @@ +.so man3type/sockaddr.3type diff --git a/man3type/sockaddr.3type b/man3type/sockaddr.3type index 495e0d5f78..9367158e1d 100644 --- a/man3type/sockaddr.3type +++ b/man3type/sockaddr.3type @@ -26,6 +26,7 @@ Standard C library .B }; .PP .BR typedef " /* ... */ " socklen_t; +.BR typedef " /* ... */ " sa_family_t; .PP .fi .SS Internet domain sockets @@ -83,6 +84,10 @@ structures and used to access its fields. .I socklen_t Describes the length of a socket address. This is an integer type of at least 32 bits. +.TP +.I sa_family_t +Describes a socket's protocol family. +This is an unsigned integer type. .SS Internet domain sockets .TP .I sockaddr_in @@ -109,6 +114,12 @@ POSIX.1-2001 and later. .I socklen_t is also defined in .IR . +.PP +.I sa_family_t +is also defined in +.I +and +.IR . .SH SEE ALSO .BR accept (2), .BR bind (2),