NPFD
struct pollfd pfd[NPFD];
struct msgbuf *queues[NPFD];
for (i = 0; i < NPFD; i++) {
if (poll(pfd, NPFD, polltim) == -1) {