dice/pc.c
2025-09-14 22:02:49 +02:00

9 lines
154 B
C

#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;
}