Jonathan Adams writes:
> Couldn't you just start main() with:
> 
>       closefrom(3);
> 
> to close any extra file descriptors?

Yes, that'd be much better.

-- 
James Carlson, KISS Network                    <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to