pipe(mypipe); mkfifo(fifodir,O_CREAT|O_EXCL) sid=shmget(IPC_PRIVATE,1024,0666); shmctl(sid,IPC_STAT,&buf;); mid=msgget(IPC_PRIVATE,0666); msgctl(mid,IPC_STAT,&buf;);