summaryrefslogtreecommitdiff
path: root/src/sys/msg/struct_msqid_ds.h
blob: ac4299ff1d99504ba7d22bc4e22c0fa5525392c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <sys/msg.h>

struct msqid_ds {
	struct ipc_perm msg_perm;	/* operation permissions */
	msgqnum_t msg_qnum;		/* # messages on queue */
	msglen_t msg_qbytes;		/* Max # bytes allowed on queue */
	pid_t msg_lspid;		/* PID of last msgsnd() */
	pid_t msg_lrpid;		/* PID of last msgrcg() */
	time_t msg_stime;		/* time of last msgsnd() */
	time_t msg_rtime;		/* time of last msgrcv() */
	time_t msg_ctime;		/* time of last change */
};

/*
XOPEN(4)
*/