projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d96382d
)
add comments describing the fields
author
Keith Bostic
<bostic@ucbvax.Berkeley.EDU>
Fri, 3 May 1991 08:40:34 +0000
(
00:40
-0800)
committer
Keith Bostic
<bostic@ucbvax.Berkeley.EDU>
Fri, 3 May 1991 08:40:34 +0000
(
00:40
-0800)
SCCS-vsn: sys/sys/msgbuf.h 7.5
usr/src/sys/sys/msgbuf.h
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/sys/sys/msgbuf.h
b/usr/src/sys/sys/msgbuf.h
index
2ac826a
..
abb9368
100644
(file)
--- a/
usr/src/sys/sys/msgbuf.h
+++ b/
usr/src/sys/sys/msgbuf.h
@@
-4,16
+4,16
@@
*
* %sccs.include.redist.c%
*
- * @(#)msgbuf.h 7.
4
(Berkeley) %G%
+ * @(#)msgbuf.h 7.
5
(Berkeley) %G%
*/
-#define MSG_MAGIC 0x063061
#define MSG_BSIZE (4096 - 3 * sizeof(long))
struct msgbuf {
+#define MSG_MAGIC 0x063061
long msg_magic;
- long msg_bufx;
- long msg_bufr;
- char msg_bufc[MSG_BSIZE];
+ long msg_bufx;
/* write pointer */
+ long msg_bufr;
/* read pointer */
+ char msg_bufc[MSG_BSIZE];
/* buffer */
};
#ifdef KERNEL
struct msgbuf *msgbufp;