• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _LINUX_MQUEUE_H
7 #define _LINUX_MQUEUE_H
8 #include <linux/types.h>
9 #define MQ_PRIO_MAX 	32768
10 #define MQ_BYTES_MAX	819200
11 struct mq_attr {
12 	__kernel_long_t	mq_flags;
13 	__kernel_long_t	mq_maxmsg;
14 	__kernel_long_t	mq_msgsize;
15 	__kernel_long_t	mq_curmsgs;
16 	__kernel_long_t	__reserved[4];
17 };
18 #define NOTIFY_NONE	0
19 #define NOTIFY_WOKENUP	1
20 #define NOTIFY_REMOVED	2
21 #define NOTIFY_COOKIE_LEN	32
22 #endif
23