Lines Matching refs:logfd
524 FILE *logfd; in score() local
534 if ((logfd = fopen(LOGFILE,"a")) != NULL) { in score()
535 fprintf(logfd, in score()
538 fclose(logfd); in score()
548 if ((logfd = fopen(scoreboard,"w")) != NULL) in score()
549 fclose(logfd); in score()
551 if ((logfd = fopen(scoreboard,"r")) != NULL && in score()
554 if ((retval = fgets(buf, 100, logfd)) == NULL) in score()
583 if (fgets(buf, 100, logfd) == NULL) in score()
592 fclose(logfd); in score()
598 logfd = fopen(scoreboard,"r"); in score()
607 (logfd==NULL?"log":"tmp"),errno); in score()
622 if (logfd != NULL) in score()
623 fclose(logfd); in score()
627 if (logfd != NULL) { in score()
628 fseek(logfd, 0L, 0); in score()
637 if (fgets(buf, 100, logfd) == NULL) in score()
643 fclose(logfd); in score()