nant's projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge from vendor branch GCC:
[dragonfly.git]
/
lib
/
libc
/
gen
/
msgrcv.c
1
#include <sys/types.h>
2
#include <sys/ipc.h>
3
#include <sys/msg.h>
4
5
#if __STDC__
6
int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg)
7
#else
8
int msgrcv(msqid, msgp, msgsz, msgtyp, msgflg)
9
int msqid;
10
void *msgp;
11
size_t msgsz;
12
long msgtyp;
13
int msgflg;
14
#endif
15
{
16
return (msgsys(3, msqid, msgp, msgsz, msgtyp, msgflg));
17
}