retval = SysGetROMToken (0, sysROMTokenSnum, (BytePtr*) &bufP, &bufLen);

gives me the ID of the unit.  but since it doesn't null terminate it i get
extra characters in the variable.  how can i terminate it and have it moved
to other variables for me to manipulate it with?  i try a strcopy but all
char's after the id are passed with it.

is there a definate length that the ID will always be?  can i do a strNcopy
instead to remove the extra chars?

Reply via email to