1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef _LINUX_MQUEUE_H 8 #define _LINUX_MQUEUE_H 9 #include <linux/types.h> 10 #define MQ_PRIO_MAX 32768 11 #define MQ_BYTES_MAX 819200 12 struct mq_attr { 13 __kernel_long_t mq_flags; 14 __kernel_long_t mq_maxmsg; 15 __kernel_long_t mq_msgsize; 16 __kernel_long_t mq_curmsgs; 17 __kernel_long_t __reserved[4]; 18 }; 19 #define NOTIFY_NONE 0 20 #define NOTIFY_WOKENUP 1 21 #define NOTIFY_REMOVED 2 22 #define NOTIFY_COOKIE_LEN 32 23 #endif 24