Lawson wrote :
> 
> > 2) I'm scared of eventually running out of file descriptors.
> 
> I don't think you will.  When it gets around to them, I think the 
> systemwill reuse the old numbers, but I can't see an easy way to 
> force it to.
> >

Once you get a fd, you can use 'dup' and then close the old
one. Since 'dup' is going to look at the fd table for the lowest
available entry, you will be reusing the old fd values that are
no longer in use. But, this would be applicable, if the system is
progressively assigning fd to subsequent calls. Normally, it does
not happen so, does it ?

-Sanchet-
begin:vcard
n:Dighe;Sanchet
fn:Sanchet Surendra Dighe
tel;work:5525124/25/26-1065
org:WIPRO Technologies;
adr:;;No. 8, 7th Main, 1st Block, Koramangala;Bangalore;Karnataka;560 034;INDIA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Sr. Software Engineer
end:vcard

Reply via email to