summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-03-01 21:16:35 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-03-01 21:16:35 +0000
commit7fa029faeebb729acc7e0ff0a486ff0161984c3a (patch)
treeb2bdc6c43c37ecc1fea8a8931778167df489b310 /include
parent868342314a10a6285ddb4ce7b51a0a140d71f2e3 (diff)
Add _POSIX_CLOCKRES_MIN and _POSIX2_CHARCLASS_NAME_MAX per POSIX 1003.1-2008
ports build tested by espie@
Diffstat (limited to 'include')
-rw-r--r--include/limits.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/include/limits.h b/include/limits.h
index b865880278a..1776bf76268 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.17 2013/02/17 22:09:54 guenther Exp $ */
+/* $OpenBSD: limits.h,v 1.18 2013/03/01 21:16:34 guenther Exp $ */
/* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */
/*
@@ -58,23 +58,25 @@
#define _POSIX_THREAD_THREADS_MAX 4
#if __POSIX_VISIBLE >= 200112
+#define _POSIX_CLOCKRES_MIN 20000000
#define _POSIX_NGROUPS_MAX 8
#define _POSIX_OPEN_MAX 20
-#define _POSIX_TZNAME_MAX 6
+#define _POSIX_TZNAME_MAX 6
#else
#define _POSIX_NGROUPS_MAX 0
#define _POSIX_OPEN_MAX 16
-#define _POSIX_TZNAME_MAX 3
+#define _POSIX_TZNAME_MAX 3
#endif
-#define _POSIX2_BC_BASE_MAX 99
-#define _POSIX2_BC_DIM_MAX 2048
-#define _POSIX2_BC_SCALE_MAX 99
-#define _POSIX2_BC_STRING_MAX 1000
+#define _POSIX2_BC_BASE_MAX 99
+#define _POSIX2_BC_DIM_MAX 2048
+#define _POSIX2_BC_SCALE_MAX 99
+#define _POSIX2_BC_STRING_MAX 1000
#define _POSIX2_COLL_WEIGHTS_MAX 2
-#define _POSIX2_EXPR_NEST_MAX 32
-#define _POSIX2_LINE_MAX 2048
-#define _POSIX2_RE_DUP_MAX _POSIX_RE_DUP_MAX
+#define _POSIX2_EXPR_NEST_MAX 32
+#define _POSIX2_LINE_MAX 2048
+#define _POSIX2_RE_DUP_MAX _POSIX_RE_DUP_MAX
+#define _POSIX2_CHARCLASS_NAME_MAX 14
#if __POSIX_VISIBLE >= 200112
#define _POSIX_HOST_NAME_MAX 255