delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/21/05:30:46

From: "Petr Stehlik" <pstehlik AT zln DOT cz>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: case of filenames question
Date: Wed, 21 Jan 1998 11:20:55 +0100
Organization: Czech Technical University
Lines: 15
Message-ID: <6a4ibh$duu$1@ns.felk.cvut.cz>
References: <6a30hn$5e1$1 AT news4 DOT ispnews DOT com>
NNTP-Posting-Host: joy.zln.cz
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Gary R. Sekinger wrote in message <6a30hn$5e1$1 AT news4 DOT ispnews DOT com>...
>I cannot seem to figure out how to read the lfn filenames. I used opendir()
>and readdir(), but the seem to only return lower case versions of the file
>names.

__opendir_flags = __OPENDIR_PRESERVE_CASE;


This should do the trick.

Petr



- Raw text -


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