Searched refs:sfnew (Results 1 - 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfdopen.c33 return sfnew(NiL, NiL, (size_t)SF_UNBOUND, fd, flags);
H A Dfmemopen.c31 return sfnew(NiL, buf, size, -1, SF_STRING|_sftype(mode, NiL, NiL));
H A Dvfwscanf.c102 if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ))
/illumos-gate/usr/src/lib/libpp/common/
H A Dppprintf.c36 if (!(sp = sfnew(NiL, pp.outp, MAXTOKEN, -1, SF_WRITE|SF_STRING)))
H A Dppsym.c43 if (dup(3) < 0 || !(out = sfnew(NiL, NiL, -1, 3, SF_WRITE)))
H A Dppinput.c505 if (!(sp = sfnew(NiL, NiL, SF_UNBOUND, pp.in->fd, SF_READ)))
512 if (!(sp = sfnew(NiL, pp.in->buffer + ((pp.in->flags & IN_static) ? 0 : PPBAKSIZ), file_size, -1, SF_READ|SF_STRING)))
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfnew.c32 Sfio_t* sfnew(Sfio_t* oldf, Void_t* buf, size_t size, int file, int flags) function
34 Sfio_t* sfnew(oldf,buf,size,file,flags)
H A D_sfopen.c88 { f = sfnew(f,(char*)file,
132 if((f = sfnew(f,NIL(char*),(size_t)SF_UNBOUND,fd,sflags)) && oldfd >= 0)
H A Dsfprintf.c68 if(!(f = sfnew(NIL(Sfio_t*),NIL(char*),(size_t)SF_UNBOUND,
H A Dsfprints.c44 !(f = sfnew(NIL(Sfio_t*),NIL(char*),(size_t)SF_UNBOUND,
H A Dsfungetc.c76 { if(!(uf = sfnew(NIL(Sfio_t*),NIL(char*),(size_t)SF_UNBOUND,
H A Dsfpopen.c171 if (!(f = sfnew(f, NIL(Void_t*), (size_t)SF_UNBOUND,
225 if(!(f = sfnew(f,NIL(Void_t*),(size_t)SF_UNBOUND,parent[pkeep],sflags|((sflags&SF_RDWR)?0:SF_READ))))
H A Dsftmp.c320 sf = sfnew(&newf,NIL(Void_t*),(size_t)SF_UNBOUND,fd,SF_READ|SF_WRITE);
389 if(!(f = sfnew(NIL(Sfio_t*),NIL(char*),s,-1,SF_STRING|SF_READ|SF_WRITE)) )
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoec.c708 struct server_filter *sfnew; local
718 sfnew = (struct server_filter *)calloc(1, sizeof (*sfnew));
719 if (sfnew == NULL) {
725 sfnew->sf_name = str;
727 sfnew->sf_isexcept = exceptflag == 0 ? 0 : 1;
743 mcp = sfnew->sf_mask.ether_addr_octet;
744 if (ether_hostton(hbuf, &sfnew->sf_mac) == 0) {
746 sfnew->sf_hasmac = 1;
748 ucp = sfnew
[all...]
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dhist.c195 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE);
263 Sfio_t *iop = sfnew(NIL(Sfio_t*),buff,IOBSIZE,fdo,SF_READ);
H A Dprint.c271 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dfds.c217 else if (fstat(unit, &st) || !(sp = sfnew(NiL, NiL, SF_UNBOUND, unit, SF_WRITE)))
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcsubstr.c191 if (!(sp = f) && !(sp = sfnew(NIL(Sfio_t*), NIL(Void_t*), (size_t)SF_UNBOUND, dup(sffileno(parent)), parent->flags)))
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dsfio.h230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
417 #define sfstropen() sfnew(0, 0, -1, -1, SF_READ|SF_WRITE|SF_STRING)
/illumos-gate/usr/src/lib/libast/common/include/
H A Dsfio.h230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
417 #define sfstropen() sfnew(0, 0, -1, -1, SF_READ|SF_WRITE|SF_STRING)
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dsfio.h230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
417 #define sfstropen() sfnew(0, 0, -1, -1, SF_READ|SF_WRITE|SF_STRING)
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dsfio.h230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
417 #define sfstropen() sfnew(0, 0, -1, -1, SF_READ|SF_WRITE|SF_STRING)
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dsfio.h230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
417 #define sfstropen() sfnew(0, 0, -1, -1, SF_READ|SF_WRITE|SF_STRING)
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dstk.c252 if(!sfnew(stream,cp,bsize,-1,SF_STRING|SF_WRITE|SF_STATIC|SF_EOF))
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c319 hp->histfp= sfnew(NIL(Sfio_t*),hp->histbuff,HIST_BSIZE,fd,SF_READ|SF_WRITE|SF_APPENDWR|SF_SHARE);
398 hp->auditfp = sfnew((Sfio_t*)0,NULL,-1,fd,SF_WRITE);

Completed in 106 milliseconds

12