[AD] [TODO] About findfirst |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
An unidentified Australian guy ;-) has put an "Emulate findfirst" entry in
the Win32 section of the todo file. I don't agree with him for the following
reasons:
- findfirst() and struct ffblk are clearly DOS-isms, and the main goal of
Allegro is not to propagate them ;-)
- the Win32 libc has got its own version, dubbed _findfirst(),
- findfirst() and its two sisters are superfluous in the API: the same
results can be achieved with for_each_file(), file_size() and file_time(),
- code bloat.
---
Eric Botcazou
ebotcazou@xxxxxxxxxx