Since you know the type (it's a fun_bc) why not use the struct member name, p->name?