diff options
Diffstat (limited to 'lib/libc/gen/msgsnd.c')
| -rw-r--r-- | lib/libc/gen/msgsnd.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc/gen/msgsnd.c b/lib/libc/gen/msgsnd.c new file mode 100644 index 000000000000..a6209159ff50 --- /dev/null +++ b/lib/libc/gen/msgsnd.c @@ -0,0 +1,16 @@ +#include <sys/types.h> +#include <sys/ipc.h> +#include <sys/msg.h> + +#if __STDC__ +int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg) +#else +int msgsnd(msqid, msgp, msgsz, msgflg) + int msqid; + void *msgp; + size_t msgsz; + int msgflg; +#endif +{ + return (msgsys(2, msqid, msgp, msgsz, msgflg)); +} |
