From b0cce7e1278a4e5b31b9d595c28d1d5d2e302051 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 7 Sep 2001 08:31:16 +0000 Subject: * include/limits.h: Define PIPE_BUF. * syscalls.cc (fpathconf): Use PIPE_BUF instead of numerical constant. (pathconf): Ditto. --- winsup/cygwin/include/limits.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'winsup/cygwin/include/limits.h') diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h index 4a2ad3a8d..9eaac0b34 100644 --- a/winsup/cygwin/include/limits.h +++ b/winsup/cygwin/include/limits.h @@ -129,6 +129,11 @@ details. */ #undef OPEN_MAX #define OPEN_MAX 256 +/* # of bytes in a pipe buf. This is the max # of bytes which can be + written to a pipe in one atomic operation. */ +#undef PIPE_BUF +#define PIPE_BUF 4096 + /* POSIX values */ /* These should never vary from one system type to another */ /* They represent the minimum values that POSIX systems must support. -- cgit v1.2.3