Date: Sun, 28 Jan 2001 20:30:58 +0100 From: mouss <usebsd@free.fr> To: Garance A Drosihn <drosih@rpi.edu>, hackers@FreeBSD.ORG Cc: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Subject: Re: [kernel patch] fcntl(...) to close many descriptors Message-ID: <01012820330901.00214@dades.chilali.net> In-Reply-To: <p05010400b6981565909b@[128.113.24.47]> References: <4.3.0.20010126193228.06e2a200@bluesun> <p05010400b6981565909b@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01012820330901.00214>