delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/12/03:52:28

Date: Tue, 12 Jan 1999 10:51:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Omar Hawk <omarhawk AT t-online DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: finding directiries with djgpp
In-Reply-To: <369a2919.479044@news.btx.dtag.de>
Message-ID: <Pine.SUN.3.91.990112105046.15876E@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 11 Jan 1999, Omar Hawk wrote:

> is there a C function to find the first/next directory under both
> DOS/Linux? (the approach with the ffblk doesn't seem to fit the bill -
> READ: a portable function)

Use the functions opendir, readdir, and closedir.  They are portable
to most DOS/Windows C compilers; and they are Posix-standard, so Unix
compilers support them as well.

> does djgpp recognize LFNs if i set LFN=Y under windows 9X's dos mode?

If by ``dos mode'' you mean to shut down Windows and go to DOS, then
no, LFN is not supported in that mode.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019