accessible?[procedure] accessible? path access-mode more-mode ...
[syntax] access-mode mode-name
Scheme48: checks if path can be accessed w.r.t.
access-mode. Access-mode is constructed by
access-mode syntax from a symbol 'read, 'write,
'execute or 'exists.
Gauche has sys-access which is a direct interface to
POSIX access(). Many implementations have separate
predicates for each access mode, e.g.
file-exists?, file-readable?, file-is-readable?,
file-read-access?, etc.
|