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

/ast/src/cmd/tests/sfio/
H A Dtwrrd.c25 char wbuf[1023]; local
29 for(i = 0; i < sizeof(wbuf); ++i)
30 wbuf[i] = (i%26)+'a';
31 wbuf[sizeof(wbuf)-1] = '\0';
37 if(sfwrite(fp,wbuf,sizeof(wbuf)) != sizeof(wbuf))
49 if(strcmp(rbuf,wbuf) != 0)
H A Dtmpread.c33 char wbuf[1023], rbuf[RBUF*1023], *s; local
42 for(i = 0; i < sizeof(wbuf); ++i)
43 wbuf[i] = (i%10) + '0';
51 if(write(p[1], wbuf, sizeof(wbuf)) != sizeof(wbuf))
59 for(n = 0; n < sizeof(wbuf); ++n)
/ast/src/lib/libast/sfio/
H A Dsfwr.c41 { reg char *sp, *wbuf, *endbuf; local
45 wbuf = buf;
91 if(buf > wbuf)
96 if((wr = syswritef(f->file,wbuf,buf-wbuf)) > 0)
100 if(wr != (buf-wbuf))
102 wbuf = buf;
112 wbuf = (buf += s);
/ast/src/cmd/mailx/
H A Dnames.c82 yankword(char* ap, char* wbuf) argument
113 for (cp2 = wbuf; *cp && (*cp2++ = *cp++) != '>';)
116 for (cp2 = wbuf; *cp && !strchr(" \t,(", *cp); *cp2++ = *cp++)
119 return *wbuf ? cp : (char*)0;

Completed in 21 milliseconds