145 for(specp=spec, atnamp = atnam; *specp; specp++, atnamp++)
162 if(ErrorWarn !=
NULL)
165 if(*(specp+1) && *(specp+1) !=
' ')
169 fprintf(stderr,
"Error in atom wildcard: %s\n",spec);
184 if(*specp != *atnamp)
186 if(ErrorWarn !=
NULL)
196 if((*specp ==
' ') && ((*atnamp ==
' ') || (*atnamp ==
'\0')))
198 if(ErrorWarn !=
NULL)
205 if(ErrorWarn !=
NULL)
211 if(*atnamp && *atnamp!=
' ')
269 int main(
int argc,
char **argv)
271 char spec[8], atnam[8];
273 strcpy(atnam,
" CA*");
274 printf(
"Atom name '%s':\n", atnam);
int main(int argc, char **argv)
Include file for PDB routines.
BOOL blAtomNameRawMatch(char *atnam, char *spec, BOOL *ErrorWarn)
System-type variable type definitions.
BOOL blAtomNameMatch(char *atnam, char *spec, BOOL *ErrorWarn)