/ast/src/lib/libcs/ |
H A D | cswrite.c | 31 cswrite(register Cs_t* state, int fd, const void* buf, register size_t n) function 55 return cswrite(&cs, fd, buf, n);
|
H A D | csping.c | 41 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 D | csto.c | 40 if (cswrite(state, fd, &udp, sizeof(udp)) != sizeof(udp)) 45 return cswrite(state, fd, buf, siz);
|
H A D | csauth.c | 69 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 D | cs.h | 272 #define cswrite _cs_write macro 311 extern ssize_t cswrite(Cs_t*, int, const void*, size_t);
|
H A D | Makefile | 26 cssend.c css.c csserve.c csstat.c csto.c csvar.c cswrite.c \
|
H A D | msgsend.c | 133 if (cswrite(&cs, fd, msg->data, ret) != ret)
|
H A D | csbind.c | 253 cswrite(state, fd, buf, n);
|
H A D | csopen.c | 326 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 D | msguser.c | 316 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 D | license.c | 56 if (cswrite(&cs, fd, svc, n) != n) 75 if (cswrite(&cs, lic, msg, len) != len)
|
H A D | cs_3d.h | 47 #define cswrite _3d_cswrite macro
|
/ast/src/cmd/cs/ |
H A D | nam.c | 109 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 D | css.c | 123 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 D | cat.c | 157 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 D | 6263.c | 67 cswrite(css->state, fp->fd, s, n);
|
H A D | fs_env.c | 152 if (cswrite(fd, buf, n) != n) 254 if (cswrite(fd, "\n", 1) == 1)
|
H A D | tst-old.c | 118 if (cswrite(fd, buf, n) != n) goto drop;
|
H A D | tst.c | 111 if (cswrite(css->state, fp->fd, buf, n) != n)
|
H A D | dbm.c | 315 if (cswrite(fd, ret, n) != n || *cmd == 'q') goto drop;
|
/ast/src/cmd/coshell/ |
H A D | job.c | 72 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 D | main.c | 243 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 D | shell.c | 360 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 D | command.c | 52 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 D | at.c | 433 if (cswrite(&cs, op, s, n) != n)
|