MacOS does NOT support macro RLIMIT_MSGQUEUE
parent
9e7965b2f1
commit
5120b1daf0
|
|
@ -1350,9 +1350,11 @@ int set_rlimit(int resource, const rlim_t value)
|
||||||
case RLIMIT_NOFILE:
|
case RLIMIT_NOFILE:
|
||||||
label = "max open files";
|
label = "max open files";
|
||||||
break;
|
break;
|
||||||
|
#ifdef RLIMIT_MSGQUEUE
|
||||||
case RLIMIT_MSGQUEUE:
|
case RLIMIT_MSGQUEUE:
|
||||||
label = "max bytes in msg queues";
|
label = "max bytes in msg queues";
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case RLIMIT_MEMLOCK:
|
case RLIMIT_MEMLOCK:
|
||||||
label = "max locked-in-memory address space";
|
label = "max locked-in-memory address space";
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue