is_readable

is_readable -- determines if a file is readable.

Syntax

is_readable (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 readable, otherwise nil. Existing files might not be readable because of settings on the files bitmask.

Example

    Gamma> is_readable("/usr/doc/FAQ/txt/FAQ");
    t
    Gamma> 
    		

See Also

is_writable, is_busy

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.