Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12241

When will getsockname() set ENOBUFS?

$
0
0

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?


Viewing all articles
Browse latest Browse all 12241

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>