aaaa perche non funzia
This commit is contained in:
parent
131702d682
commit
5c06be55fb
|
@ -124,7 +124,6 @@ int main(int argc, char *argv[]){
|
|||
printfServer("");
|
||||
printf("%s's turn\n", name[turn]);
|
||||
|
||||
// msgrcv(_MSGQID, &move, sizeof(move_t) - sizeof(long), MOVE, 0);
|
||||
rcvMove(&move);
|
||||
|
||||
//TMP
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
void msgRcv(void *msgp, size_t size, long mtype) {
|
||||
if (msgrcv(_MSGQID, msgp, size, mtype, 0) == -1) {
|
||||
perror("test");
|
||||
errExitMsg("msgrcv");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue