msg.h (c1144d29f405ce1f4e6ede6482beb3d0d09750c6) msg.h (2a785996cc5e2fc1d1d29d196f530905f68d2dc2)
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _UAPI_LINUX_MSG_H
3#define _UAPI_LINUX_MSG_H
4
5#include <linux/ipc.h>
6
7/* ipcs ctl commands */
8#define MSG_STAT 11

--- 5 unchanged lines hidden (view full) ---

14#define MSG_EXCEPT 020000 /* recv any msg except of specified type.*/
15#define MSG_COPY 040000 /* copy (not remove) all queue messages */
16
17/* Obsolete, used only for backwards compatibility and libc5 compiles */
18struct msqid_ds {
19 struct ipc_perm msg_perm;
20 struct msg *msg_first; /* first message on queue,unused */
21 struct msg *msg_last; /* last message in queue,unused */
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _UAPI_LINUX_MSG_H
3#define _UAPI_LINUX_MSG_H
4
5#include <linux/ipc.h>
6
7/* ipcs ctl commands */
8#define MSG_STAT 11

--- 5 unchanged lines hidden (view full) ---

14#define MSG_EXCEPT 020000 /* recv any msg except of specified type.*/
15#define MSG_COPY 040000 /* copy (not remove) all queue messages */
16
17/* Obsolete, used only for backwards compatibility and libc5 compiles */
18struct msqid_ds {
19 struct ipc_perm msg_perm;
20 struct msg *msg_first; /* first message on queue,unused */
21 struct msg *msg_last; /* last message in queue,unused */
22 __kernel_time_t msg_stime; /* last msgsnd time */
23 __kernel_time_t msg_rtime; /* last msgrcv time */
24 __kernel_time_t msg_ctime; /* last change time */
22 __kernel_old_time_t msg_stime; /* last msgsnd time */
23 __kernel_old_time_t msg_rtime; /* last msgrcv time */
24 __kernel_old_time_t msg_ctime; /* last change time */
25 unsigned long msg_lcbytes; /* Reuse junk fields for 32 bit */
26 unsigned long msg_lqbytes; /* ditto */
27 unsigned short msg_cbytes; /* current number of bytes on queue */
28 unsigned short msg_qnum; /* number of messages in queue */
29 unsigned short msg_qbytes; /* max number of bytes on queue */
30 __kernel_ipc_pid_t msg_lspid; /* pid of last msgsnd */
31 __kernel_ipc_pid_t msg_lrpid; /* last receive pid */
32};

--- 58 unchanged lines hidden ---
25 unsigned long msg_lcbytes; /* Reuse junk fields for 32 bit */
26 unsigned long msg_lqbytes; /* ditto */
27 unsigned short msg_cbytes; /* current number of bytes on queue */
28 unsigned short msg_qnum; /* number of messages in queue */
29 unsigned short msg_qbytes; /* max number of bytes on queue */
30 __kernel_ipc_pid_t msg_lspid; /* pid of last msgsnd */
31 __kernel_ipc_pid_t msg_lrpid; /* last receive pid */
32};

--- 58 unchanged lines hidden ---