Commit | Line | Data |
---|---|---|
d5aff5d9 DG |
1 | #include <sys/types.h> |
2 | #include <sys/ipc.h> | |
3 | #include <sys/msg.h> | |
4 | ||
5 | #if __STDC__ | |
6 | int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg) | |
7 | #else | |
8 | int msgsnd(msqid, msgp, msgsz, msgflg) | |
9 | int msqid; | |
10 | void *msgp; | |
11 | size_t msgsz; | |
12 | int msgflg; | |
13 | #endif | |
14 | { | |
15 | return (msgsys(2, msqid, msgp, msgsz, msgflg)); | |
16 | } |