Are there any Phobos functions to check file permissions on Windows and Posix?
Kagamin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Sep 7 06:24:51 PDT 2015
On Sunday, 6 September 2015 at 20:40:04 UTC, Gary Willoughby
wrote:
> Are there any Phobos functions to check file permissions on
> Windows and Posix? For example, I want to check if a file is
> readable and/or writable in a cross-platform fashion. Does
> anyone have an example?
Call fopen and check errno?
More information about the Digitalmars-d-learn
mailing list