#308341 glibc-doc: SO_RCVBUF documented as size_t, but is int in Linux.

#308341#5
Date:
2005-05-09 15:29:04 UTC
From:
To:
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

#308341#10
Date:
2005-05-11 20:49:12 UTC
From:
To:
* Teddy Hogeborn:

According to the kernel and Stevens, it's an indeed an int.  So the
documentation needs fixing.