void transname(char *name, char *namebuf, int n);