Mail Archives: djgpp-workers/1997/01/23/08:22:29
On Wed, 22 Jan 1997, Charles Sandmann wrote:
> There should be a faster, less code-bloated way to do this than calling
> findfirst?
I'm not aware of any. No other file-oriented DOS function knows about
devices *by name* except `_open' (and of course after you open the device
you can call IOCTL by the handle). Since `access' already calls
`findfirst' (for the case of the root directories which also fail
`_chmod'), I think adding another call to it isn't too bad.
- Raw text -