firstI希望等待子进程,当我用SIG_IGN设置SIGCHLD处理程序时,该程序可以正常工作,但总是出错,但当我捕获SIGCHLD时总是出错,错误是在mesrcv系统调用中阻塞的客户端进程,这意味着当我输入sysV message queue id and a filename,server report the file whether existwhile((rcv_size=msgrcv=-1){
if(msgrcv(climsqid,&rcvbuf,1024,0,0)!
length = -1; // Length of the structure we are going to send overprintf("[+] Calculating the size of the message we are about to send across=%d\n", length);
// msgrcv(int msqid, void *msgp, size_t