sgfru_writesegment
ret = sgfru_writesegment(&init_arg);
static int sgfru_writesegment(const sgfru_init_arg_t *iargp);