summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/include/limits.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-22 22:31:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-22 22:31:51 +0000
commit05195890d71bfab2b1b63592fc1ca7bf53f3da59 (patch)
tree963e18a5c2ab7afdbbeb6c06b5078969ded24850 /c/src/exec/posix/include/limits.h
parentThis commit was generated by cvs2svn to compensate for changes in r257, (diff)
downloadrtems-05195890d71bfab2b1b63592fc1ca7bf53f3da59.tar.bz2
These files have been modified in the initial pass at getting the portion
of the POSIX API necessary to support the GNAT runtime to initially compile. We now have verified that the specifications for the necessary routines are correct per the POSIX standards we have. The removed files were moved to newlib as they were duplicates of files already included there.
Diffstat (limited to 'c/src/exec/posix/include/limits.h')
-rw-r--r--c/src/exec/posix/include/limits.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/c/src/exec/posix/include/limits.h b/c/src/exec/posix/include/limits.h
index d46500bc36..e8ac4bf2fd 100644
--- a/c/src/exec/posix/include/limits.h
+++ b/c/src/exec/posix/include/limits.h
@@ -11,9 +11,14 @@
* $Id$
*/
+#include_next <limits.h>
+
#ifndef __POSIX_LIMITS_h
#define __POSIX_LIMITS_h
+/* really only to get min stack size from <rtems/score/cpu.h> */
+#include <rtems/system.h>
+
/****************************************************************************
****************************************************************************
* *
@@ -113,14 +118,19 @@
* minimum but is indeterminate.
*/
-#define LOGIN_NAME_MAX 9
-#define PTHREAD_DESTRUCTOR_ITERATIONS 4
+#define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX
+#define TTY_NAME_MAX _POSIX_TTY_NAME_MAX
+#define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS
+#define PTHREAD_STACK_MIN CPU_STACK_MINIMUM_SIZE
+
/*
* The maximum number of keys (PTHREAD_KEYS_MAX) and threads
* (PTHREAD_THREADS_MAX) are configurable and may exceed the minimum.
- */
+ *
+#define PTHREAD_KEYS_MAX _POSIX_THREAD_KEYS_MAX
+#define PTHREAD_THREADS_MAX _POSIX_THREAD_THREADS_MAX
+*/
-#define TTY_NAME_MAX 9
/****************************************************************************
****************************************************************************