libcsdbg  1.28
C++ exception (and generic) stack trace debug library
bool csdbg::util::is_regular ( const fileinfo_t inf)
static

Check if a file is a regular one.

Parameters
[in]infthe file info
Returns
true if it is regular, false otherwise

Definition at line 419 of file util.cpp.

Referenced by csdbg::dictionary::load_file(), and csdbg::filebuf::open().

420 {
421  return S_ISREG(inf.st_mode);
422 }

+ Here is the caller graph for this function: