for (p = ly_temp; p != 0; p = p->next) { if (!strcmp(p->name, name)) { fp = p->file = LYAppendToTxtFile (name); break; }
if ((p = FindTempfileByName(name)) != 0) { fp = p->file = LYAppendToTxtFile (name);
PUBLIC FILE *LYReopenTemp ARGS1(	char *,		name){    LY_TEMP *p;    FILE *fp = 0;    LYCloseTemp(name);    for (p = ly_temp; p != 0; p = p->next) {	if (!strcmp(p->name, name)) {	    fp = p->file = LYAppendToTxtFile (name);	    break;	}    }    return fp;}