char str[500];
char *sym, stype;
int rc;
char * fgetsresult;
rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, str);
if (rc != 3) {
if (rc != EOF) {
/* skip line */
fgets(str, 500, in);
fgetsresult = fgets(str, 500, in);
}
return -1;