TF++, Miscellaneous classes and modules in C++:

◆ readable()

bool tfxx::file::readable ( const char *  path)

true is the file is readable

true is the file is readable.

Definition at line 92 of file filestatus.cc.

References exists().

Referenced by testfile().

93  {
94  bool retval=false;
95  if (exists(path)) { retval=(access(path, R_OK)==0); }
96  return(retval);
97  } // bool readable(const char* path)
bool exists(const char *path)
Definition: filestatus.cc:71
Here is the call graph for this function:
Here is the caller graph for this function: