Searched refs:sfpopen (Results 1 - 23 of 23) sorted by relevance

/ast/src/lib/libast/stdio/
H A Dpopen.c29 return sfpopen((Sfio_t*)(-1), cmd, mode);
/ast/src/cmd/tests/sfio/
H A Dtpopen.c34 if(!(f = sfpopen((Sfio_t*)0, sfprints("%s -p > %s", argv[0], tstfile("sf", 0)), "w")))
48 if(!(f = sfpopen((Sfio_t*)0, sfprints("%s -p < %s", argv[0], tstfile("sf", 0)), "r")))
H A Dtclose.c98 if((w = sfpopen(NIL(Sfio_t*), sfprints("%s %d", argv[0], N_STR), "w+")) )
143 w = sfpopen((Sfio_t*)(-1), sfprints("%s %d 2>/dev/null",argv[0],N_STR), "w+");
H A Dtmode.c57 if(!(f = sfpopen(NIL(Sfio_t*),sfprints("%s %s", argv[0], tstfile("sf", 0)),"r")))
58 terror("sfpopen");
H A Dtpopenrw.c45 if(!(f = sfpopen(NIL(Sfio_t*), sfprints("%s -p",argv[0]), "r+")))
H A Dtbadargs.c65 CALL(sfpopen(0,0,0));
H A Dtpoll.c92 if(!(f = sfpopen(0, s, "w+")) )
H A Dttell.c79 if(!(f = sfpopen(NIL(Sfio_t*),sfprints("%s -p",argv[0]),"r+")) )
/ast/src/lib/libast/comp/
H A Dwordexp.c126 if(!(iop = sfpopen((Sfio_t*)0,stakptr(0),"r")))
/ast/src/lib/libardir/
H A Dar-local.c34 Sfio_t* sp; /* sfpopen() stream */
78 if (!(state->sp = sfpopen(NiL, cmd, "r")) || (c = sfgetc(state->sp)) == EOF || sfungetc(state->sp, c) == EOF)
/ast/src/lib/libast/sfio/
H A Dsfpopen.c134 Sfio_t* sfpopen(Sfio_t* f, const char* command, const char* mode) function
136 Sfio_t* sfpopen(f,command,mode)
/ast/src/lib/libast/disc/
H A Dsfdcfilter.c161 if(!(filter = sfpopen(NIL(Sfio_t*),cmd,"r+")) )
/ast/src/cmd/pax/
H A Dnocomment.c295 if (pp = sfpopen(NiL, "proto -fns", "r"))
H A Dbio.c1159 s = (pp = sfpopen(pp, s, "r")) ? sfgetr(pp, '\n', 1) : (char*)0;
/ast/src/cmd/sort/
H A Dsfopen.c246 if (f = sfpopen(f, s, mode))
/ast/src/lib/libz/
H A Dsfdcgzip.c219 * 0xd6c3c4d8 sfpopen vcunzip
256 if (dup(sffileno(sp)) || !sfpopen(sp, "vcunzip", "r"))
/ast/src/cmd/std/
H A Dpss-ps.c155 if (!(state->ps = sfpopen(NiL, pss->buf, "r")) || !sfgetr(state->ps, '\n', 0))
/ast/src/lib/libast/include/
H A Dsfio.h232 extern Sfio_t* sfpopen _ARG_((Sfio_t*, const char*, const char*));
/ast/src/lib/libjcl/
H A Dpath.c692 if (!(pp = sfpopen(NiL, s, "r")) || !(t = sfgetr(pp, '\n', 0)) || sfprintf(jcl->vp, "%s", t) || sfclose(pp))
/ast/src/lib/libpz/
H A Dpzopen.c148 else if (!(pz->io = strneq(path, "pipe://", 7) ? sfpopen(NiL, path + 7, "r") : sfopen(NiL, path, "r")))
/ast/src/lib/libast/
H A DMakefile156 sfpool.c sfpopen.c sfprintf.c sfputd.c sfputl.c sfputr.c \
/ast/src/cmd/html/
H A Dtroff2html.c2352 if (!(sp = sfpopen(NiL, s, "r")))
/ast/src/cmd/nmake/
H A Dparse.c1345 if (!(state.io[d] = sfpopen(NiL, t, "rw")))

Completed in 53 milliseconds