Searched refs:cswrite (Results 1 - 25 of 27) sorted by relevance

12

/ast/src/lib/libcs/
H A Dcswrite.c31 cswrite(register Cs_t* state, int fd, const void* buf, register size_t n) function
55 return cswrite(&cs, fd, buf, n);
H A Dcsping.c41 n = (cswrite(state, fd, M, N) != N || csread(state, fd, state->temp, N, CS_LINE) != N || strncmp(M, state->temp, N)) ? -1 : 0;
H A Dcsto.c40 if (cswrite(state, fd, &udp, sizeof(udp)) != sizeof(udp))
45 return cswrite(state, fd, buf, siz);
H A Dcsauth.c69 if (cswrite(state, fd, buf, n) != n)
114 if (cswrite(state, wfd, tmp, n) != n)
191 n = cswrite(state, wfd, tmp, s - tmp);
H A Dcs.h272 #define cswrite _cs_write macro
311 extern ssize_t cswrite(Cs_t*, int, const void*, size_t);
H A DMakefile26 cssend.c css.c csserve.c csstat.c csto.c csvar.c cswrite.c \
H A Dmsgsend.c133 if (cswrite(&cs, fd, msg->data, ret) != ret)
H A Dcsbind.c253 cswrite(state, fd, buf, n);
H A Dcsopen.c326 if (cswrite(state, fd, buf, m) != m)
335 if (cswrite(state, proc->wfd, tmp, n) != n)
339 if (cswrite(state, fd, buf, m) != m)
343 if (cswrite(state, proc->wfd, num, 1) != 1)
817 if (cswrite(state, fd, tmp, n) == n && (n = csread(state, fd, tmp, sizeof(tmp), CS_LINE)) >= 2)
H A Dmsguser.c316 if (cswrite(&cs, fd, msg_buf, n) != n)
325 if (cswrite(&cs, fd, msg_buf, MSG_SIZE_SIZE) != MSG_SIZE_SIZE)
/ast/src/cmd/3d/
H A Dlicense.c56 if (cswrite(&cs, fd, svc, n) != n)
75 if (cswrite(&cs, lic, msg, len) != len)
H A Dcs_3d.h47 #define cswrite _3d_cswrite macro
/ast/src/cmd/cs/
H A Dnam.c109 if (cswrite(fd, b, n) != n)
138 if (cswrite(fd, DEVFD, sizeof(DEVFD) - 1) != sizeof(DEVFD) - 1 || cssend(fd, &ud, 1))
147 if (cswrite(fd, "\n", 1) == 1)
H A Dcss.c123 if (cswrite(css->state, i, s, n) != n)
129 if ((n -= ++s - buf) > 0 && cswrite(css->state, state->proc->wfd, s, n) != n)
146 if (cswrite(css->state, state->proc->wfd, s, n) != n)
H A Dcat.c157 if (cswrite(fp->fd, state->buf, n) != n)
166 else if ((n = csread(fd, state->buf, sizeof(state->buf), CS_LIMIT)) > 0 && cswrite(fp->fd, state->buf, n) == n)
H A D6263.c67 cswrite(css->state, fp->fd, s, n);
H A Dfs_env.c152 if (cswrite(fd, buf, n) != n)
254 if (cswrite(fd, "\n", 1) == 1)
H A Dtst-old.c118 if (cswrite(fd, buf, n) != n) goto drop;
H A Dtst.c111 if (cswrite(css->state, fp->fd, buf, n) != n)
H A Ddbm.c315 if (cswrite(fd, ret, n) != n || *cmd == 'q') goto drop;
/ast/src/cmd/coshell/
H A Djob.c72 cswrite(state.con[fd].info.pass.fd, sfstrbase(tp), sfstrtell(tp));
137 cswrite(jp->shell->fd, s, n);
204 cswrite(jp->shell->fd, buf, n);
258 if (cswrite(state.con[jp->fd].info.user.fds[0], buf, n) != n)
H A Dmain.c243 if (cswrite(fd, "#00000\n", 7) != 7) return(-1);
433 cswrite(fd, cmd, strlen(cmd));
455 else if (cswrite(fd, "#00000\n", 7) != 7) /* error */;
486 cswrite(fd, state.buf, 7);
547 cswrite(state.con[fd].info.user.fds[1], "#00001\n", 7) != 7)
559 cswrite(state.con[fd].info.user.fds[2], "#00002\n", 7) != 7)
578 if (cswrite(state.con[fd].info.user.fds[0], state.buf, i) != i)
594 if (cswrite(i, corinit, n) == n)
628 cswrite(state.con[fd].info.pass.fd, cmd, n);
636 else if (cswrite(stat
[all...]
H A Dshell.c360 if (cswrite(sp->fd, s, n) != n)
367 if (cswrite(con[fd].info.user.fds[0], state.buf, n) != n)
379 if (cswrite(con[fd].info.user.fds[0], state.buf, n) != n)
H A Dcommand.c52 if (cswrite(fd, s, n) != n)
98 cswrite(x, cmd, c);
812 cswrite(con[fd].info.user.fds[1], sfstrseek(state.string, 0, SEEK_SET), n);
/ast/src/cmd/at/
H A Dat.c433 if (cswrite(&cs, op, s, n) != n)

Completed in 38 milliseconds

12