Lines Matching refs:len
169 int len;
171 len = strlen(status);
176 if (write(slvpipe[WRITE_PIPE], &len, sizeof(int)) < 0)
179 if (write(slvpipe[WRITE_PIPE], status, len) < 0)
202 int len, type;
205 len = 0;
209 len++;
212 len++; /* add in the termination chtype */
213 len *= sizeof(chtype);
220 if (write(slvpipe[WRITE_PIPE], &len, sizeof(int)) < 0)
224 if (write(slvpipe[WRITE_PIPE], string, len) < 0)