Lines Matching refs:buf
48 fdgets(char *buf, size_t len, int fd)
53 memset(buf, 0, len);
55 if ((buf[count++] = tmp) == '\n') break;
58 return (buf);
95 char buf[24]; /* send/recv 2 byte protocol */
97 memset(buf, 0, sizeof (buf));
99 iov[0].iov_base = buf;
100 iov[0].iov_len = sizeof (buf);
130 char *av[64], *tmp, buf[BUFSIZ];
147 snprintf(buf, sizeof (buf), "%d", timeout);
149 av[ac++] = strdup(buf);
153 snprintf(buf, sizeof (buf), "-%c", type);
154 av[ac++] = buf;