diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-30 00:29:31 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-30 00:29:31 +0200 |
commit | ea8bd4ff75c53791e46834abc3d7b27b46426af8 (patch) | |
tree | bff063077d181bd52efde53c9c1a4802f41ba5f1 | |
parent | 728c2f35a3729d7d46cc0675110b1134bc1b87b9 (diff) |
sa_family_t.3type, sockaddr.3type: Document sa_family_t
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r-- | man3type/sa_family_t.3type | 1 | ||||
-rw-r--r-- | man3type/sockaddr.3type | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/man3type/sa_family_t.3type b/man3type/sa_family_t.3type new file mode 100644 index 000000000..39e914c30 --- /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 495e0d5f7..9367158e1 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 <netdb.h> . +.PP +.I sa_family_t +is also defined in +.I <netinet/in.h> +and +.IR <sys/un.h> . .SH SEE ALSO .BR accept (2), .BR bind (2), |