Lines Matching refs:afd
83 int pipe, afd = toys.optflags & FLAG_o;
93 afd = pipe;
104 afd = xcreate(TT.F, perm, 0644);
115 if (!(size =readall(afd, toybuf, 110))) break;
117 tofree = name = strpad(afd, x8u(toybuf+94), 110);
146 data = strpad(afd, size, 0);
164 if (size < sizeof(toybuf)) data = strpad(afd, size, 0);
165 else xreadall(afd, toybuf, sizeof(toybuf));
249 xwrite(afd, toybuf, llen);
250 xwrite(afd, name, nlen);
254 if (llen) xwrite(afd, &zero, 4-llen);
260 xwrite(afd, toybuf, llen);
268 xwrite(afd, toybuf, nlen);
271 if (llen) xwrite(afd, &zero, 4-llen);
279 xwrite(afd, toybuf,
283 if (TT.F) xclose(afd);