INNER CODE UNIT · C
NOT_FOUND
mittinatten/freesasa · src/classifier.c:295
int pos, NOT_FOUND = -1;
if (strlen(line) == 0) return NOT_FOUND;
pos = locate_string(line, str);
if (pos >= 0) {
this_range->begin = last_tell + pos;
if (*prev_range) (*prev_range)->end = last_tell + pos;
(*prev_range) = this_range;
return last_tell + pos;
}
return NOT_FOUND;
}
/**
Checks that input file has the required fields and locates the
'types' and 'atoms' sections. No syntax checking. Return
FREESASA_SUCCESS if file seems ok, FREESASA_FAIL if either/both of