Commit | Line | Data |
---|---|---|
e804469b C |
1 | /* @(#)sendw.c 4.2 (Melbourne) 82/01/22 */ |
2 | ||
3 | #include <sys/types.h> | |
4 | #include <sys/mush.h> | |
5 | #include <sys/mu_msg.h> | |
6 | ||
7 | sendw(smp, rmp, opt) | |
8 | mmsgbuf *smp, *rmp; | |
9 | { | |
10 | mmsgbuf mb; register r; | |
11 | ||
12 | mb = *smp; | |
13 | if ((r = mu_msg(MSG_SNDW, opt, &mb)) >= 0) | |
14 | *rmp = mb; | |
15 | return r; | |
16 | } |