Home | History | Annotate | Download | only in sys

Lines Matching defs:pipe_buf

276 	long pipe_buf;
287 pipe_buf = fpathconf(wfd, _PC_PIPE_BUF);
288 ATF_REQUIRE_MSG(pipe_buf > 1, "pipe_buf=%ld", pipe_buf);
290 REQUIRE_LIBC(buf = malloc(pipe_buf), NULL);
327 while (write(wfd, buf, pipe_buf) != -1) {
346 * be insufficient space for a pipe_buf-sized message, so
357 * Now read enough so that exactly pipe_buf space should
361 RL(nread = read(rfd, buf, pipe_buf - 1));
362 ATF_REQUIRE_EQ_MSG(nread, pipe_buf - 1, "nread=%zd pipe_buf-1=%ld",
363 nread, pipe_buf - 1);
373 while (read(rfd, buf, pipe_buf) != -1) {