/*
 * 5799-WZQ (C) COPYRIGHT = NONE
 * LICENSED MATERIALS - PROPERTY OF IBM
 */
/* $Header:msgbuf.h 12.0$ */
/* $ACIS:msgbuf.h 12.0$ */
/* $Source: /ibm/acis/usr/sys/h/RCS/msgbuf.h,v $ */

#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
static char *rcsidmsgbuf = "$Header:msgbuf.h 12.0$";
#endif

/*
 * Copyright (c) 1982, 1986 Regents of the University of California.
 * All rights reserved.  The Berkeley software License Agreement
 * specifies the terms and conditions for redistribution.
 *
 *	@(#)msgbuf.h	7.1 (Berkeley) 6/4/86
 */

#define	MSG_MAGIC	0x063061
#if	!(defined(MSGBSIZE) && defined(ibm032) && defined(DEBUG))
#define MSGBSIZE	4096
#endif
#define	MSG_BSIZE	(MSGBSIZE - 3 * sizeof (long))
struct	msgbuf {
	long	msg_magic;
	long	msg_bufx;
	long	msg_bufr;
	char	msg_bufc[MSG_BSIZE];
};
#ifdef KERNEL
struct	msgbuf msgbuf;
#ifdef ibm032
struct	msgbuf *msgbufp;	/* real memory address of msgbuf */
#endif ibm032
#endif
