Lines Matching refs:fp
126 FILE *fp;
130 fp = fopen(p->fname, "a");
131 if (fp == NULL)
133 fprintf(fp, "%s", str);
134 fclose(fp);
144 FILE *fp;
148 fp = fopen(p->fname, "a");
149 if (fp == NULL)
152 vfprintf(fp, fmt, ap);
155 fclose(fp);
163 FILE *fp;
167 fp = fopen(p->fname, "a");
168 if (fp == NULL)
170 vfprintf(fp, fmt, ap);
171 fclose(fp);
183 FILE *fp;
190 fp = fopen(p->fname, "a");
191 if (fp == NULL)
199 fprintf(fp, "%s: %s\n", ts, p->buf[j]);
201 fprintf(fp, "\n");
204 fclose(fp);