logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mq_getsetattr - get/set message queue attributes

Description

Do not use this system call. This is the low-level system call used to implement mq_getattr(3) and mq_setattr(3). For an explanation of how this system call operates, see the description of mq_setattr(3).

Name

mq_getsetattr - get/set message queue attributes

Notes

Never call it unless you are writing a C library!

See Also

mq_getattr(3), mq_overview(7) Linux man-pages 6.9.1 2024-05-02 mq_getsetattr(2)

Standards

None.

Synopsis

#include<mqueue.h> /* Definition of structmq_attr */ #include<sys/syscall.h> /* Definition of SYS_* constants */ #include<unistd.h>intsyscall(SYS_mq_getsetattr,mqd_tmqdes,conststructmq_attr*newattr,structmq_attr*oldattr);

See Also