I am toying a bit with POSIX queues and I encountered a problem. When creating a new queue I can specify for example the size of the message and how many messages there can be in the queue. My normal limit is 10 as found in

```
/proc/sys/fs/mqueue/msg_max

```

is there an easy way to change it during program execution, apart from 

```
echo number > /proc/sys/fs/mqueue/msg_max

```

maybe some system call for setting such things exists.