feat: minor changes
This commit is contained in:
14
OSs/lab6/common.h
Normal file
14
OSs/lab6/common.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef COMMON_H_
|
||||
#define COMMON_H_
|
||||
|
||||
#define MQ_KEY1 1234L
|
||||
#define MQ_KEY2 2345L
|
||||
#define MAXMESGDATA 4096
|
||||
|
||||
struct msg {
|
||||
long mesg_len;
|
||||
long mesg_type;
|
||||
char mesg_data[MAXMESGDATA];
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user