X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flimits.h;h=55ad82315b39193f845a7cd512c5a689fc97471a;hb=ef839c73d7ad51249550675defdcb24349e6ffd0;hp=6d7dfdbba0c07efef91f70630921d90cbd7d82b2;hpb=80695b1d1e64a026c473a33965e680444e863e34;p=musl diff --git a/include/limits.h b/include/limits.h index 6d7dfdbb..55ad8231 100644 --- a/include/limits.h +++ b/include/limits.h @@ -29,6 +29,8 @@ #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 /* Arbitrary numbers... */ @@ -49,6 +51,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 +60,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 +109,3 @@ #define _XOPEN_PATH_MAX 1024 #endif - -#endif