There is a closeall() in NetBSD libc (it's a loop on close()).
I suggest using the same name, and adding the function for all the *bsd.
On Sat, 27 Jan 2001, Garance A Drosihn wrote:
> [snip]
> On the other hand, I seem to remember this being done (in some
> other program, if not in lpr) because closeallfds *is* a system
> routine in some place or another. The intent of closeallfds is
> the same as what you have implemented, as it is:
> void closeallfds(int start);
> [snip]
cheers,
mouss
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message