sm_file
typedef struct sm_file SM_FILE_T;
struct sm_file *f_flushfp; /* flush this before reading parent */
struct sm_file *f_modefp; /* sync mode with this fp */