Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 1997 04:24:21 -0800
From:      John-Mark Gurney <jmg@hydrogen.nike.efn.org>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   using opendir, but passing a fd instead of path...
Message-ID:  <19970405042421.06894@hydrogen.nike.efn.org>

next in thread | raw e-mail | index | archive | help
I was looking at the man page for opendir, and currently there isn't
a way to open a dir from a file descriptor...  would this be a useful
addition to the opendir set of routines?  or would this be a "wart" on
something that really shouldn't be touched?

the reason I ask is because of a program that I'm writing, and I don't
feel like having to pass the path to a subfunction, but I am passing
an open fd of the dir...

thanks for the input... ttyl..

-- 
  John-Mark
  Cu Networking                             Modem/FAX: +1 541 683 6954

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970405042421.06894>