too many close calls for non-opened fds

Frank Cusack fcusack at fcusack.com
Wed Aug 23 04:54:52 EST 2006


On August 16, 2006 2:44:43 PM -0700 Carson Gaspar <carson at taltos.org> wrote:
> You learn something new every day... Solaris 10 also has closefrom() and
> fdwalk() (which performs an arbitrary function on all open fds, allowing
> you to check the return code from each close, unlike closefrom()).

Also Solaris 9.  First documentation I can find for it is from Dec '02,
but that document is dated Apr '00.  It might have been a private
interface before 12/02, or online docs are missing info before then
(they do seem to be sparse).  In any case the point is, this isn't new
to Solaris 10.

-frank



More information about the openssh-unix-dev mailing list