Date: Tue, 10 Jul 2007 14:36:35 +0200 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: freebsd-hackers@freebsd.org Subject: Re: add closefrom() call Message-ID: <20070710123634.GD1194@britannica.bec.de> In-Reply-To: <46930106.3040503@gmail.com> References: <46930106.3040503@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 09, 2007 at 11:46:14PM -0400, Ighighi wrote: > Calling F_MAXFD everytime we close a file descriptor would be heavy > having too much fd's. > On the other hand, it wouldn't make much a difference to just start from > getdtablesize() - 1. I fully agree. That is the second version of closefrom in DragonFly -- for the purpose of libc_r BTW. Joerg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070710123634.GD1194>