@DIRREADABLE
— Tests whether the
current user can read from a directory.
Syntax:
@DIRREADABLE[
dirname]
dirname | the directory to test |
Returns 1
if you can read from the specified directory,
0
if not.
See also: the @DIRWRITABLE
function.