1 /* 2 * Copyright (c) 1981, 1984 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)msgbuf.h 7.4 (Berkeley) 12/05/90 8 */ 9 10 #define MSG_MAGIC 0x063061 11 #define MSG_BSIZE (4096 - 3 * sizeof(long)) 12 struct msgbuf { 13 long msg_magic; 14 long msg_bufx; 15 long msg_bufr; 16 char msg_bufc[MSG_BSIZE]; 17 }; 18 #ifdef KERNEL 19 struct msgbuf *msgbufp; 20 #endif 21