X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flimits.h;h=3953aea53533895e4ac4f51e8af40d68b1bb4541;hb=c97f0d998cae23472ea30564663a8612dcfb6f83;hp=6d7dfdbba0c07efef91f70630921d90cbd7d82b2;hpb=80695b1d1e64a026c473a33965e680444e863e34;p=musl diff --git a/include/limits.h b/include/limits.h index 6d7dfdbb..3953aea5 100644 --- a/include/limits.h +++ b/include/limits.h @@ -29,6 +29,9 @@ #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 /* Arbitrary numbers... */ @@ -49,6 +52,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 +61,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 +110,3 @@ #define _XOPEN_PATH_MAX 1024 #endif - -#endif