#include "pc.h" #include "memory.h" int new_character(pc_t* pc, const char* name) { memset(pc,0,sizeof(pc_t)); strncpy(pc->name,name,64); return 0; }