Subject: Re: implementing closeall via a syscall
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 01/05/2004 00:08:28
In article <6.0.1.1.2.20040104154643.038355a8@3am-software.com>,
Matt Thomas <matt@3am-software.com> wrote:
>
>I'd prefer to follow prior art so i think the AIX fcntl FCLOSEM is
>preferrable to me. It's not that hard to make fcntl to not check the fd
>for validity.
>
>An alternative might be add an F_MAXFD to fcntl which would return the
>highest opened fd.
Yes, I like matt's changes.
christos