From owner-freebsd-current Sat Apr 5 04:24:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA04897 for current-outgoing; Sat, 5 Apr 1997 04:24:28 -0800 (PST) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA04887 for ; Sat, 5 Apr 1997 04:24:23 -0800 (PST) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.4/8.8.4) id EAA19513; Sat, 5 Apr 1997 04:24:22 -0800 (PST) Message-ID: <19970405042421.06894@hydrogen.nike.efn.org> Date: Sat, 5 Apr 1997 04:24:21 -0800 From: John-Mark Gurney To: FreeBSD Current Subject: using opendir, but passing a fd instead of path... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.67 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2-960801-SNAP i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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