blob: 6b512639a7ffa497f0b42781356b15fde55b00e6 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef __ASM_GENERIC_MSGBUF_H
8#define __ASM_GENERIC_MSGBUF_H
9#include <asm/bitsperlong.h>
Christopher Ferrisef80d682020-02-04 16:16:51 -080010#include <asm/ipcbuf.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070011struct msqid64_ds {
Tao Baod7db5942015-01-28 10:07:51 -080012 struct ipc64_perm msg_perm;
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070013#if __BITS_PER_LONG == 64
Christopher Ferrisef80d682020-02-04 16:16:51 -080014 long msg_stime;
15 long msg_rtime;
16 long msg_ctime;
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070017#else
18 unsigned long msg_stime;
19 unsigned long msg_stime_high;
20 unsigned long msg_rtime;
21 unsigned long msg_rtime_high;
22 unsigned long msg_ctime;
23 unsigned long msg_ctime_high;
Ben Cheng655a7c02013-10-16 16:09:24 -070024#endif
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070025 unsigned long msg_cbytes;
26 unsigned long msg_qnum;
27 unsigned long msg_qbytes;
Tao Baod7db5942015-01-28 10:07:51 -080028 __kernel_pid_t msg_lspid;
29 __kernel_pid_t msg_lrpid;
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070030 unsigned long __unused4;
31 unsigned long __unused5;
Ben Cheng655a7c02013-10-16 16:09:24 -070032};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080033#endif