aboutsummaryrefslogtreecommitdiffstats
path: root/include/limits.h
diff options
context:
space:
mode:
authorPeter Dufault <dufault@FreeBSD.org>1998-03-04 10:27:00 +0000
committerPeter Dufault <dufault@FreeBSD.org>1998-03-04 10:27:00 +0000
commit917e476dad16ee2bb972f70adede8bd9693aca13 (patch)
tree9a4a250a06cdd01d476f1e2cce24699984e7a22a /include/limits.h
parent644d85f4ca78ccb6055a1246fa5ec3124bd43182 (diff)
downloadsrc-917e476dad16ee2bb972f70adede8bd9693aca13.tar.gz
src-917e476dad16ee2bb972f70adede8bd9693aca13.zip
Reviewed by: msmith, bde long ago
POSIX.4 headers and sysctl variables. Nothing should change unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
Notes
Notes: svn path=/head/; revision=34030
Diffstat (limited to 'include/limits.h')
-rw-r--r--include/limits.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/limits.h b/include/limits.h
index 2e2b29325da2..df120e6beb12 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)limits.h 8.2 (Berkeley) 1/4/94
- * $Id$
+ * $Id: limits.h,v 1.5 1997/12/27 22:56:41 steve Exp $
*/
#ifndef _LIMITS_H_
@@ -60,6 +60,22 @@
#define _POSIX2_EXPR_NEST_MAX 32
#define _POSIX2_LINE_MAX 2048
#define _POSIX2_RE_DUP_MAX 255
+
+#ifdef POSIX4_VISIBLE
+
+#define _POSIX_AIO_LISTIO_MAX 2
+#define _POSIX_AIO_MAX 1
+#define _POSIX_DELAYTIMER_MAX 32
+#define _POSIX_MQ_OPEN_MAX 8
+#define _POSIX_MQ_PRIO_MAX 32
+#define _POSIX_RTSIG_MAX 8
+#define _POSIX_SEM_NSEMS_MAX 256
+#define _POSIX_SEM_VALUE_MAX 32767
+#define _POSIX_SIGQUEUE_MAX 32
+#define _POSIX_TIMER_MAX 32
+
+#endif
+
#endif /* !_ANSI_SOURCE */
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) || defined(_XOPEN_SOURCE)