modeinfo
struct modeinfo node;
fread((char *)&node, 1, sizeof(struct modeinfo), mfl);
fwrite((char *)&node, 1, sizeof(struct modeinfo), mfg);