Lines Matching defs:buf
72 char *buf;
141 buf = malloc(expl + 1);
143 buf = malloc(expl);
145 if (buf == NULL)
167 free(buf);
170 len = MI_SOCK_READ(sd, buf + i, expl - i);
182 free(buf);
188 free(buf);
196 buf[expl] = '\0';
198 return buf;
204 free(buf);
312 ** buf -- buffer with further data
320 mi_wr_cmd(sd, timeout, cmd, buf, len)
324 char *buf;
334 if (len > Maxdatasize || (len > 0 && buf == NULL))
346 if (len >= 0 && buf != NULL)
348 iov[1].iov_base = (void *) buf;