X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flimits.h;h=4d0410a0e08c9d324b8ef83a88c250c64cefb1bc;hb=836ba93d93f901d25e8ed4ac34209cf547d8e217;hp=6d7dfdbba0c07efef91f70630921d90cbd7d82b2;hpb=80695b1d1e64a026c473a33965e680444e863e34;p=musl diff --git a/include/limits.h b/include/limits.h index 6d7dfdbb..4d0410a0 100644 --- a/include/limits.h +++ b/include/limits.h @@ -29,6 +29,10 @@ #define PTHREAD_KEYS_MAX 1024 #define PTHREAD_STACK_MIN PAGE_SIZE #define PTHREAD_DESTRUCTOR_ITERATIONS 4 +#define SEM_VALUE_MAX 0x7fffffff +#define SEM_NSEMS_MAX 256 +#define DELAYTIMER_MAX 0x7fffffff +#define MQ_PRIO_MAX 32768 /* Arbitrary numbers... */ @@ -49,6 +53,8 @@ #define NL_SETMAX 255 #define NL_TEXTMAX 2048 +#endif + /* POSIX/SUS requirements follow. These numbers come directly * from SUS and have nothing to do with the host system. */ @@ -56,6 +62,7 @@ #define _POSIX_AIO_MAX 1 #define _POSIX_ARG_MAX 4096 #define _POSIX_CHILD_MAX 25 +#define _POSIX_CLOCKRES_MIN 20000000 #define _POSIX_DELAYTIMER_MAX 32 #define _POSIX_HOST_NAME_MAX 255 #define _POSIX_LINK_MAX 8 @@ -104,5 +111,3 @@ #define _XOPEN_PATH_MAX 1024 #endif - -#endif