open() vs the lowest unused file descriptor

Carl J carlj1752 at hotmail.com
Fri Oct 15 07:37:03 PDT 2004


Hi!

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.

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

Thank you!

- Carl

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



More information about the freebsd-questions mailing list