add NFDBITS in sys/select.h with appropriate feature tests
authorRich Felker <dalias@aerifal.cx>
Sat, 6 Jul 2013 05:12:28 +0000 (01:12 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 6 Jul 2013 05:12:28 +0000 (01:12 -0400)
commitca9aff6a1646c7fc106bfbb9399b3a1bcb14f18b
tree0e000328e727baf07f60f8b9267e0876fa04d12c
parent6d861ac87491a207e4599c44b61d142f0a601c2d
add NFDBITS in sys/select.h with appropriate feature tests

the main use for this macro seems to be knowing the correct allocation
granularity for dynamic-sized fd_set objects. such usage is
non-conforming and results in undefined behavior, but it is widespread
in applications.
include/sys/select.h