| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 1.91

 

file_is_readable

#include "sflfile.h"
Bool
file_is_readable (
    const char *filename)

Synopsis

Returns TRUE if the current process can read the specified file or directory. The filename may end in a slash (/ or \).

Source Code - (sflfile.c)

{
    ASSERT (filename);
    return ((file_mode (clean path (filename)) & S_IREAD) != 0);
}

| << | < | > | >> iMatix Copyright © 1996-98 iMatix