std-file-readable-p


Synopsis

(std-file-readable-p <fname>)

Description

std-file-readable-p checks if the file exists on the given filesystem and maybe opened for reading. It returns only T or nil. Files may exist and not being readable if they are already open.

Example

(std-file-readable-p "/acad/test.lsp")  => T or nil

Arguments

fname: a string. A partial or fully qualified filename specifier.

Return Value

T or nil.

Side Effects

None.

Module

(std-require 'STDFILE)

Defined in STDFILE