command6.c | 107 static FILE *score_fp; variable in typeref:typename:FILE * 112 score_fp = fopen(_PATH_SCORE, "a"); 113 if (score_fp == NULL) 115 if (score_fp != NULL && fileno(score_fp) < 3) 129 if (score_fp != NULL) { 130 fprintf(score_fp, "%24.24s %8s %c%20s", ctime(&tv), username, 133 fprintf(score_fp, " wizard\n"); 136 fprintf(score_fp, " WIZARD!\n"); 138 fprintf(score_fp, "\n") [all...] |