scandsp/src/dspparser.cxx
// ===========================================================================
// Determine whether 'name' refers to an extant directory.
Determine whether 'name' refers to an extant directory.
Determine whether ' name ' refers to an extant directory .
static bool directory_exists(const string &name)
{
    struct _stat s;
    int ret = _stat(name.c_str(), &s);
    return (ret == 0 && (s.st_mode & _S_IFDIR));
}
static bool directory_exists ( const string & name ) { struct _stat s ; int ret = _stat ( name . c_str ( ) , & s ) ; return ( ret == 0 && ( s . st_mode & _S_IFDIR ) ) ; }
Determine whether 'name' refers to an extant directory.
Determine whether ' name ' refers to an extant directory .