diff options
Diffstat (limited to 'man3type/sockaddr.3type')
-rw-r--r-- | man3type/sockaddr.3type | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/man3type/sockaddr.3type b/man3type/sockaddr.3type index 9cee8cc9f..dacc9ad48 100644 --- a/man3type/sockaddr.3type +++ b/man3type/sockaddr.3type @@ -4,7 +4,7 @@ .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" -.TH sockaddr 3type 2022-10-30 "Linux man-pages 6.03" +.TH sockaddr 3type 2023-04-22 "Linux man-pages 6.05.01" .SH NAME sockaddr, sockaddr_storage, sockaddr_in, sockaddr_in6, sockaddr_un, socklen_t, in_addr, in6_addr, in_addr_t, in_port_t, @@ -109,7 +109,22 @@ stored in network byte order. .I sockaddr_un Describes a UNIX domain socket address. .SH STANDARDS -POSIX.1-2001 and later. +POSIX.1-2008. +.SH HISTORY +POSIX.1-2001. +.PP +.I socklen_t +was invented by POSIX. +See also +.BR accept (2). +.PP +These structures were invented before modern ISO C strict-aliasing rules. +If aliasing rules are applied strictly, +these structures would be extremely difficult to use +without invoking Undefined Behavior. +POSIX Issue 8 will fix this by requiring that implementations +make sure that these structures +can be safely used as they were designed. .SH NOTES .I socklen_t is also defined in |