- Package:
- glibc-doc-reference
- Source:
- glibc-doc-reference
- Submitter:
- Teddy Hogeborn
- Date:
- 2011-10-10 08:06:05 UTC
- Severity:
- normal
In "(libc)Socket-Level Options", SO_RCVBUF is documented as having a type "size_t". In Linux, it is of type "int". The man page socket(7) does not say what type it is. The same goes for SO_SNDBUF. This is mostly a problem on 64-bit architechtures where size_t is not an int. If SO_RCVBUF should be size_t, then this is a Linux bug and this bug should be reassigned. /Teddy
* Teddy Hogeborn: According to the kernel and Stevens, it's an indeed an int. So the documentation needs fixing.