When will getsockname()
set ENOBUFS
?
The manual says getsockname()
can set errno
to ENOBUFS
, but I have checked the related source code inside kernel(3.10, 4.9, 5.2):
inet_getname
inet6_getname
unix_getname
netlink_getname
ipx_getname
move_addr_to_user
None of them return ENOBUFS
.
Can anybody tell me if there is anything I was missed?