Searched refs:SF_STATIC (Results 1 - 8 of 8) sorted by relevance

/ast/src/lib/libast/sfio/
H A Dsfswap.c99 if(f2flags&SF_STATIC)
100 f2->flags |= SF_STATIC;
101 else f2->flags &= ~SF_STATIC;
103 if(f1flags&SF_STATIC)
104 f1->flags |= SF_STATIC;
105 else f1->flags &= ~SF_STATIC;
108 { if(!(f1->flags&SF_STATIC) )
H A Dsfextern.c79 (SF_READ |SF_STATIC|SF_STDSAFE),NIL(Sfdisc_t*),SFMTXIN);
81 (SF_WRITE|SF_STATIC|SF_STDSAFE),NIL(Sfdisc_t*),SFMTXOUT);
83 (SF_WRITE|SF_STATIC|SF_STDSAFE),NIL(Sfdisc_t*),SFMTXERR);
H A Dsfnew.c59 { /* only allow SF_STATIC to be already closed */
60 if(!(f->flags&SF_STATIC) )
109 f->flags = (flags&SF_FLAGS) | (sflags&(SF_MALLOC|SF_STATIC));
H A Dsfclose.c135 f->flags &= SF_STATIC;
165 if(!(f->flags&SF_STATIC) )
H A Dsftmp.c308 newf.flags = SF_STATIC;
343 /* remove the SF_STATIC bit if it was only set above in making newf */
344 if(!(savf.flags&SF_STATIC) )
345 f->flags &= ~SF_STATIC;
/ast/src/cmd/tests/sfio/
H A Dtopen.c41 sfset(&sf,SF_STATIC,1);
44 if(!(sfset(&sf,0,0)&SF_STATIC))
/ast/src/lib/libast/misc/
H A Dstk.c64 Sfio_t _Stak_data = SFNEW((char*)0,0,-1,SF_STATIC|SF_WRITE|SF_STRING,&stkdisc,0);
252 if(!sfnew(stream,cp,bsize,-1,SF_STRING|SF_WRITE|SF_STATIC|SF_EOF))
/ast/src/lib/libast/include/
H A Dsfio.h145 #define SF_STATIC 0001000 /* a stream that cannot be freed */ macro

Completed in 17 milliseconds