Searched refs:wfp (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libast/port/
H A Dastquery.c53 static Sfio_t* wfp; local
68 wfp = sfstderr;
69 else if (!(wfp = sfopen(NiL, "/dev/tty", "w")))
77 op = wfp;
/ast/src/cmd/pax/
H A Dpax-saveset.c201 Sfio_t* wfp; local
204 wfp = 0;
205 else if (!(wfp = sfnew(NiL, NiL, SF_UNBOUND, wfd, SF_WRITE)))
220 if (wfp) while ((c + i) < f->st->st_size && i < ss->lastsize) switch (ss->recfmt)
224 sfputc(wfp, ss->bp[i]);
247 sfputc(wfp, ss->bp[i]);
253 sfputc(wfp, '\n');
262 sfputc(wfp, ss->bp[i]);
267 sfputc(wfp, ss->bp[i]);
277 if (wfp)
[all...]
H A Dpax-slt.c375 Sfio_t* wfp; local
378 wfp = 0;
379 else if (!(wfp = sfnew(NiL, NiL, SF_UNBOUND, wfd, SF_WRITE)))
393 else if (wfp)
541 if (wfp)
548 if (sfwrite(wfp, &state.tmp.buffer[j], k) != k)
561 if (wfp)
563 sfclose(wfp);
/ast/src/cmd/paxlib/calib/
H A Dcalib.c381 Sfio_t* wfp; local
393 wfp = 0;
398 else if (!(wfp = sfnew(NiL, NiL, SF_UNBOUND, wfd, SF_WRITE)))
407 noted = !wfp || !pax->warn;
530 if (!wfp)
679 if (sfwrite(wfp, outbuf, z) != z || ar->camap && camap_write(ar->cam, outbuf, z) < 0)
698 if (!wfp)
716 if (wfp)
718 if (sfsync(wfp) || ar->camap && camap_done(ar->cam, f->name, wfd) < 0)
723 wfp
[all...]

Completed in 56 milliseconds