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

Check if a file is a character device node.

Parameters
[in]infthe file info
Returns
true if it is a character device node, false otherwise

Definition at line 432 of file util.cpp.

Referenced by csdbg::sttybuf::open().

433 {
434  return S_ISCHR(inf.st_mode);
435 }

+ Here is the caller graph for this function: