[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



* Teddy Hogeborn:

> 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.

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



Reply to: