summaryrefslogtreecommitdiff
path: root/include/limits.h
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-10-26 03:12:46 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-10-26 03:12:46 +0000
commitddeb8754daca3d469ca0584ef837485cc657e03c (patch)
tree6022a624cd0e96d8e13328dba2e7db18fad5144f /include/limits.h
parent615bc492b48132dba2c7b43b1018d3cce385c266 (diff)
Correct a typo in _POSIX_SSIZE_MAX
Correct _POSIX_ARG_MAX; it should define the minimum allowed argument size, not the supported on (we have sysconf for that)
Diffstat (limited to 'include/limits.h')
-rw-r--r--include/limits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/limits.h b/include/limits.h
index 0a70fb81917..76f5714abdd 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -39,7 +39,7 @@
#define _LIMITS_H_
#if !defined(_ANSI_SOURCE)
-#define _POSIX_ARG_MAX 262144
+#define _POSIX_ARG_MAX 4096
#define _POSIX_CHILD_MAX 6
#define _POSIX_LINK_MAX 8
#define _POSIX_MAX_CANON 255
@@ -49,7 +49,7 @@
#define _POSIX_OPEN_MAX 16
#define _POSIX_PATH_MAX 255
#define _POSIX_PIPE_BUF 512
-#define _POSIX_SSIZE_MAX 32727
+#define _POSIX_SSIZE_MAX 32767
#define _POSIX_STREAM_MAX 8
#define _POSIX_TZNAME_MAX 3