scandsp/src/dspparser.cxx
// ===========================================================================
// Returns whether the given path name is absolute (rather than
// directory-relative).  A Windows drive-relative path name is considered
// absolute.
//
Returns whether the given path name is absolute (rather than
directory-relative).  A Windows drive-relative path name is considered
absolute.
Returns whether the given path name is absolute ( rather than directory - relative ) . A Windows drive - relative path name is considered absolute .
bool DSPParser::isAbsolute(const char *name)
{
    return isPathSep(name[0]) 
	|| (isalnum(name[0]) && name[1] == ':' && isPathSep(name[2]));
}
bool DSPParser :: isAbsolute ( const char * name ) { return isPathSep ( name [ 0 ] ) || ( isalnum ( name [ 0 ] ) && name [ 1 ] == ' ' && isPathSep ( name [ 2 ] ) ) ; }
Returns whether the given path name is absolute (rather than
directory-relative).
Returns whether the given path name is absolute ( rather than directory - relative ) .