Mail Archives: djgpp/1998/06/11/13:32:12
On Tue, 9 Jun 1998, Mapson wrote:
> the rather worrisome "__file_exists." I am
> relying pretty heavily on this __file_exists at the moment, and it
> certainly looks good, and is easy, small and quick... one question,
> though: can it reliably be expected to return "exists!" code also when
> it finds a directory?
Yes, it will work for directories as well.
> Also, if someone has any good reasons I shouldn't use
> __file_exists, please let me know- I already know it isn't
> particularly ANSI nor portable, but beside that...
It's only disadvantage is that it is DJGPP-specific, so you won't find it
anywhere else. If you care about this, use `access' instead.
- Raw text -