summaryrefslogtreecommitdiff
path: root/src/mq/mq_setattr.c
blob: eae022e946b18ad36af97b8793e74c71b7d47733 (plain)
1
2
3
4
5
6
7
#include <mqueue.h>
#include "syscall.h"

int mq_setattr(mqd_t mqd, const struct mq_attr *restrict new, struct mq_attr *restrict old)
{
	return syscall(SYS_mq_getsetattr, mqd, new, old);
}