Mail Archives: djgpp/1998/03/31/03:09:11
On Mon, 30 Mar 1998, Stan Brown wrote:
> My problem is that, even though the value of _USE_LFN is 1, I'm getting
> back only 8.3-style filenames from _dos_findfirst() and _dos_findnext().
`_dos_findfirst' and `_dos_findnext' don't support long file names.
Use the alternative functions `findfirst' and `findnext' instead. (This
should be in the docs, but it isn't; I'll submit a patch for the next
release.)
Better yet, use `opendir' and `readdir' which also support long names,
but are Posix-standard and will therefore work on a wider range of
different platforms/compilers.
- Raw text -