Subject: FD_SETSIZE in sys/types.h
To: None <current-users@NetBSD.ORG>
From: Michael Graff <explorer@flame.org>
List: current-users
Date: 05/30/1996 15:11:59
-----BEGIN PGP SIGNED MESSAGE-----


I have wondered for some time now how select() will work past 256
descriptors.

unlimit descriptors
gives me 3404 descriptors.  However, once I hit 256, FD_SETSIZE runs
out of bits.

Is the accepted method to
	#define FD_SETSIZE 1024
before including sys/types.h?  Will things break if that size were
increased to something larger (2048 even?) and will I have to
recompile a kernel to allow me to USE those?

It ``seems'' to work...  but who knows.  :)

- --Michael

- --
Michael Graff <explorer@flame.org>        NetBSD is the way to go!
PGP key on a key-server near you!         Netshade the world!
	Censorship is as pointless as a football bat.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQDWAwUBMa3y+hciTDL7Ia15AQGQHgYBATKjNE9eNN31NZmeFejiQp0WbEKbGomC
6KwLiqSf036zeC8OwpSNVUVCv4uJpcy+1358koH6+JkhAAM7PuhNYWlzToConueB
o0dn/fVwWTbrX6Yb0ys3BiIW8Uv6ROpEWi1Pd2jITt7xRwlEs5im9zmej4OasLyc
BNCTsNJBe03JA9jm4dMW3Jd/lemuEn1KKGd9H7KEGoZACh8MCPBaQN8evP7h4ggY
J1hD3mcGi3aLgR1HSyas1hHn4RqBcQnzwA==
=h6wk
-----END PGP SIGNATURE-----