> u see the dilemma, obviously since pgsn is "sh_int *pgsn" it doesnt like > fread_word...or *fread_word(fp) or anything...i suspect this is probably > either impossible or really easy lol.
Hope I'm not misconstruing what you are asking, but it seems to me that all you are really missing is a new fread_X() function that returns a sh_int * rather than whatever the others are returning. And that could be as simple as a wrapper function that utilizes fread_word() and just calls one of the standard functions like atoi() to pull out the number. Apologies if I am misunderstanding what you are doing.

