PreviousUpNext

5.5.52  Check File Readability

Check that a file is readable:

    eval:  mayread "foo.txt";
    TRUE

A shorter synonym for Perl afficionados:

    eval:  -R "foo.txt";
    TRUE

The full form, for programs (vs scripts):

    eval:  winix::file::access (filename, [winix::file::MAY_READ])     except _ = FALSE;
    TRUE

Related tests:

-Wmaywritewinix::file::MAY_WRITE
-Xmayexecutewinix::file::MAY_EXECUTE

Comments and suggestions to: bugs@mythryl.org

PreviousUpNext