Lines Matching refs:f
39 int copylet(int letnum, FILE *f, int type)
46 f -> file pointer to copy file to
53 copylet(int letnum, FILE *f, int type)
55 int pos = ftell(f);
56 int rc = xxxcopylet(letnum, f, type);
58 if (fflush(f) != 0)
66 ftruncate(fileno(f), pos);
72 xxxcopylet(int letnum, FILE *f, int type)
139 if (fwrite(buf,1,n,f) != n) {
149 if (fwrite(buf,1,n-1,f) != n-1) {
154 if (fwrite(&lastc,1,1,f) != 1) {
162 if (fprintf(f, rmtmsg, thissys) < 0)
173 if (fprintf(f, "\n") < 0)
182 gendeliv(f, dflag, uval);
188 if (fprintf(f, "%s %s\n", header[H_CTYPE].tag,
233 if (fprintf(f, "%s %ld\n", header[H_CLEN].tag, i) < 0)
239 if (fprintf(f, "\n") < 0)
245 if (fflush(f))
259 if (printhdr (type, htype, hptr, f) < 0) {
264 if (fwrite(buf,1,n,f) != n) {
271 dumprcv(type, htype,&didrcvlines,&suppress,f);
272 dumpaff(type, htype,&didafflines,&suppress,f);
280 dumprcv(type, -1,&didrcvlines,&suppress,f);
281 dumpaff(type, -1,&didafflines,&suppress,f);
330 dumprcv(type, htype,&didrcvlines,&suppress,f);
331 dumpaff(type, htype,&didafflines,&suppress,f);
342 if (fwrite(buf,1,n,f) != n) {
352 if (fprintf (f, "\n%s\n", binmsg) < 0)
386 if (fwrite(buf,1,n,f) != n) {
395 if (fwrite("\n",1,1,f) != 1) {