>>914
st.c1 = fgetc(fp);
st.c2 = fgetc(fp);
st.c3 = fgetc(fp);
fread(& st.i, sizeof(int), 1, fp);
// fread()の第2パラメータはサイズ、第3パラメータは個数