is_writable

is_writable — determines if a file is writable.

Syntax

is_writable (path)

		

Arguments

path

A character string defining a file path and file name in this file system.

Returns

t if the named file exists and is writable, otherwise nil.

Example

Gamma> is_writable("/usr/doc/FAQ/txt/FAQ");
nil
Gamma> is_writable("/home/robert/w/devel/lisp/mytestfile.dat");
t
Gamma> 
		

See Also

is_readable