(nanosleep(&request,&remaining)==-1){switch(errno){caseEINTR:printf("interrupted by a signal handler\n");exit(EXIT_FAILURE);caseEINVAL:printf("tv_nsec - not in range or tv_sec is negative\n");exit(EXIT_FAILURE);default:perror("nanosleep");exit(EXIT_FAILURE);}}}exit(EXIT_SUCCESS);...