mq_getsetattr(2) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | STANDARDS | NOTES | SEE ALSO | COLOPHON

mq_getsetattr(2)           System Calls Manual          mq_getsetattr(2)

NAME         top

       mq_getsetattr - get/set message queue attributes

SYNOPSIS         top

       #include <mqueue.h>           /* Definition of struct mq_attr */
       #include <sys/syscall.h>      /* Definition of SYS_* constants */
       #include <unistd.h>

       int syscall(SYS_mq_getsetattr, mqd_t mqdes,
                   const struct mq_attr *newattr, struct mq_attr *oldattr);

DESCRIPTION         top

       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).

STANDARDS         top

       None.

NOTES         top

       Never call it unless you are writing a C library!

SEE ALSO         top

       mq_getattr(3), mq_overview(7)

COLOPHON         top

       This page is part of the man-pages (Linux kernel and C library
       user-space interface documentation) project.  Information about
       the project can be found at 
       ⟨https://www.kernel.org/doc/man-pages/⟩.  If you have a bug report
       for this manual page, see
       ⟨https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING⟩.
       This page was obtained from the tarball man-pages-6.9.1.tar.gz
       fetched from
       ⟨https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/⟩ on
       2024-06-26.  If you discover any rendering problems in this HTML
       version of the page, or you believe there is a better or more up-
       to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not
       part of the original manual page), send a mail to
       [email protected]

Linux man-pages 6.9.1          2024-05-02               mq_getsetattr(2)

Pages that refer to this page: syscalls(2)mq_getattr(3)mq_overview(7)