You need to sign in or sign up before continuing.
提交 0182c287 编写于 作者: R rofl0r

add struct msgbuf to sys/msg.h

上级 6bf0fdbd
...@@ -37,6 +37,13 @@ int msgget (key_t, int); ...@@ -37,6 +37,13 @@ int msgget (key_t, int);
ssize_t msgrcv (int, void *, size_t, long, int); ssize_t msgrcv (int, void *, size_t, long, int);
int msgsnd (int, const void *, size_t, int); int msgsnd (int, const void *, size_t, int);
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
struct msgbuf {
long mtype;
char mtext[1];
};
#endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册