std-file-writable-p


Synopsis

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

Description

STD-FILE-WRITABLE-P checks if the file exists on the given filesystem and maybe opened for writing. It returns only T or nil. Files may exist and not being writable if they are already open or if they are write-protected..

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