open() vs the lowest unused file descriptor

Carl J carlj1752 at
Fri Oct 15 14:32:01 PDT 2004


Today I noticed that on Single Unix Specification V2,
as well as on the Linux 2.4.26 machine I have here,
that the open() call promises to return the lowest
unused file descriptor when successful.

I'm just wondering: does FreeBSD 4.x and 5.x promise
that? If so, should we update the manpage
to match SUSv2 more closely?

Thank you!

- Carl

Don’t just search. Find. Check out the new MSN Search!

More information about the freebsd-hackers mailing list