Lines Matching defs:fw
39 Sfio_t *fr, *fw;
52 !(fw = sfnew(NIL(Sfio_t*),NIL(Void_t*),(size_t)SF_UNBOUND,fd[1],SF_WRITE)) )
58 SYNC sfwrite(fw,"0123456789",10);
61 SYNC sfwrite(fw,"0123456789",10);
62 SYNC if(sfmove(fr,fw,(Sfoff_t)10,-1) != 10)
66 sfpurge(fw);
67 sfclose(fw);
74 !(fw = sfnew(NIL(Sfio_t*),NIL(Void_t*),(size_t)SF_UNBOUND,fd[1],SF_WRITE)) )
77 sfset(fw,SF_SHARE,1);
81 SYNC if(sfwrite(fw,"1\n2\n3\n",6) != 6)
93 SYNC if(sfwrite(fw,"123\n",4) != 4)
102 SYNC sfputr(fw,"abc",'\n');
103 SYNC if(sfmove(fr,fw,(Sfoff_t)1,'\n') != 1)
112 SYNC if(sfwrite(fw,"111\n222\n333\n444\n",16) != 16)
135 SYNC if(sfwrite(fw,"0123456789",11) != 11)
148 if(!(fw = sfnew(NIL(Sfio_t*),NIL(Void_t*),sizeof(buf),fd[1],SF_WRITE)) )
160 sfprintf(fw, "%s\n", buf); /* this should not block */