This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: dumb question
- To: tb@MIT.EDU (Thomas Bushnell, n/BSG)
- Subject: Re: dumb question
- From: Roland McGrath <roland@frob.com>
- Date: Tue, 30 Jun 1998 13:54:07 -0400
- Cc: aj@arthur.rhein-neckar.de, kukuk@weber.uni-paderborn.de, libc-hacker@cygnus.com
- Emacs: more boundary conditions than the Middle East.
> This is true for the select call itself, but not the associated macros
> for defining file descriptor sets.
Which macros? FD_SET and FD_CLR work. FD_ZERO doesn't, but you can always
use bzero/memset directly. The fd_set type is bounded, but you can
allocate an array with one element for every FD_SETSIZE bits.