1 /* Linux/HPPA implementation of the SysV message struct msqid_ds.
2 Copyright (C) 2020 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */
20 # error "Never use <bits/msq.h> directly; include <sys/msg.h> instead."
23 /* Structure of record for one message inside the kernel.
24 The type `struct msg' is opaque. */
27 struct ipc_perm msg_perm
; /* structure describing operation permission */
29 unsigned long int __msg_stime_high
;
30 __time_t msg_stime
; /* time of last msgsnd command */
31 unsigned long int __msg_rtime_high
;
32 __time_t msg_rtime
; /* time of last msgsnd command */
33 unsigned long int __msg_ctime_high
;
34 __time_t msg_ctime
; /* time of last change */
36 __time_t msg_stime
; /* time of last msgsnd command */
37 __time_t msg_rtime
; /* time of last msgsnd command */
38 __time_t msg_ctime
; /* time of last change */
40 __syscall_ulong_t __msg_cbytes
; /* current number of bytes on queue */
41 msgqnum_t msg_qnum
; /* number of messages currently on queue */
42 msglen_t msg_qbytes
; /* max number of bytes allowed on queue */
43 __pid_t msg_lspid
; /* pid of last msgsnd() */
44 __pid_t msg_lrpid
; /* pid of last msgrcv() */
45 __syscall_ulong_t __glibc_reserved4
;
46 __syscall_ulong_t __glibc_reserved5
;