1 /* 2 * Copyright (c) 1982, 1986 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 * 6 * @(#)msgbuf.h 7.1 (Berkeley) 06/04/86 7 */ 8 9 #define MSG_MAGIC 0x063061 10 #define MSG_BSIZE (4096 - 3 * sizeof (long)) 11 struct msgbuf { 12 long msg_magic; 13 long msg_bufx; 14 long msg_bufr; 15 char msg_bufc[MSG_BSIZE]; 16 }; 17 #ifdef KERNEL 18 struct msgbuf msgbuf; 19 #endif 20