Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-09-07 12:31:16 +0400
committerCorinna Vinschen <corinna@vinschen.de>2001-09-07 12:31:16 +0400
commitb0cce7e1278a4e5b31b9d595c28d1d5d2e302051 (patch)
treeba715b1a4ea7bb9efd1b11f3eaf813bae1e975a4 /winsup/cygwin/include/limits.h
parentddeaa23fbbb2b272b793187671bf1daf713f8b09 (diff)
* include/limits.h: Define PIPE_BUF.
* syscalls.cc (fpathconf): Use PIPE_BUF instead of numerical constant. (pathconf): Ditto.
Diffstat (limited to 'winsup/cygwin/include/limits.h')
-rw-r--r--winsup/cygwin/include/limits.h5
1 files changed, 5 insertions, 0 deletions
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.