提交 2b0cedac 编写于 作者: R Rich Felker

define MQ_PRIO_MAX

上级 0b6b43ed
......@@ -32,6 +32,7 @@
#define SEM_VALUE_MAX 0x7fffffff
#define SEM_NSEMS_MAX 256
#define DELAYTIMER_MAX 0x7fffffff
#define MQ_PRIO_MAX 32768
/* Arbitrary numbers... */
......
......@@ -36,7 +36,7 @@ long sysconf(int name)
[_SC_AIO_PRIO_DELTA_MAX] = 0, /* ?? */
[_SC_DELAYTIMER_MAX] = _POSIX_DELAYTIMER_MAX,
[_SC_MQ_OPEN_MAX] = -1,
[_SC_MQ_PRIO_MAX] = _POSIX_MQ_PRIO_MAX,
[_SC_MQ_PRIO_MAX] = MQ_PRIO_MAX,
[_SC_VERSION] = VER,
[_SC_PAGE_SIZE] = PAGE_SIZE,
[_SC_RTSIG_MAX] = 63, /* ?? */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册