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?
Kagamin via Digitalmars-d-learn Mon, 07 Sep 2015 06:26:33 -0700
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?