www.delorie.com/archives/browse.cgi | search |
Date: | Thu, 29 Jul 1999 11:05:43 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Dan Gold <TedMat AT CoastNet DOT com> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: getting all filename in sub-directory |
In-Reply-To: | <199907281320.JAA24766@delorie.com> |
Message-ID: | <Pine.SUN.3.91.990729110510.25908J-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Tue, 26 Jan 1999, Dan Gold wrote: > Is "rt" read text? Yes. > should "r" do the same thing? The default for `popen' is binary, not text. So it's not the same. > and also is that > thingy reading the directory to a file? This is called redirection. > and can you normally open a directory as a file? Use the library function `opendir' to ``open'' a directory. You cannot open a directory as a file on DOS/Windows (but you can on some versions of Unix).
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |