summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-05-31 18:31:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-05-31 18:31:53 +0000
commit65328418ffb1f8e3f90dd66929a6b20ea9bc26ca (patch)
tree6cbc95b3fed8fc62c230b749eab5f8f5e665ba8a /include
parentd220e87900c7d000a9647eb2818ec60b8980612f (diff)
Updates based on Single Unix; OK deraadt@
o _POSIX_CHILD_MAX increased to 25 o _POSIX2_RE_DUP_MAX renamed _POSIX_RE_DUP_MAX o _POSIX_SYMLINK_MAX and SYMLINK_MAX added (same as PATH_MAX) o _POSIX_SYMLOOP_MAX and SYMLOOP_MAX added (like MAXSYMLINKS)
Diffstat (limited to 'include')
-rw-r--r--include/limits.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/limits.h b/include/limits.h
index e9c6246bf7f..a05c132244b 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.8 2003/06/02 19:34:12 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.9 2004/05/31 18:31:52 millert Exp $ */
/* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */
/*
@@ -37,7 +37,7 @@
#if !defined(_ANSI_SOURCE)
#define _POSIX_ARG_MAX 4096
-#define _POSIX_CHILD_MAX 6
+#define _POSIX_CHILD_MAX 25
#define _POSIX_LINK_MAX 8
#define _POSIX_MAX_CANON 255
#define _POSIX_MAX_INPUT 255
@@ -46,8 +46,11 @@
#define _POSIX_OPEN_MAX 16
#define _POSIX_PATH_MAX 255
#define _POSIX_PIPE_BUF 512
+#define _POSIX_RE_DUP_MAX 255
#define _POSIX_SSIZE_MAX 32767
#define _POSIX_STREAM_MAX 8
+#define _POSIX_SYMLINK_MAX 255
+#define _POSIX_SYMLOOP_MAX 8
#define _POSIX_TZNAME_MAX 3
#define _POSIX2_BC_BASE_MAX 99
@@ -57,7 +60,7 @@
#define _POSIX2_COLL_WEIGHTS_MAX 2
#define _POSIX2_EXPR_NEST_MAX 32
#define _POSIX2_LINE_MAX 2048
-#define _POSIX2_RE_DUP_MAX 255
+#define _POSIX2_RE_DUP_MAX _POSIX_RE_DUP_MAX
/* P1003.1c */
#define _POSIX_TTY_NAME_MAX 260