しまったこいつは修正

int fputstr(FILE *fh, STR *s){
    SLIST *p;
    for(p = s->begin; p->next != NULL; p = p->next)
        fputchar(p->moji, fh);
}