Allocate our arrays. */ struct ioRequest *ioList = calloc(numReqs, sizeof(*ioList)); if (ioList == NULL) errExit("calloc ... struct aiocb *aiocbList = calloc(numReqs, sizeof(*aiocb…FAILURE); } /* Allocate memory for watch descriptors. */ wd = calloc(argc, sizeof(int)); if (wd == NULL) { perror ... calloc"); exit(EXIT_FAILURE); } /* Mark directories for events…