Date: Wed, 13 Jul 94 09:44:23 BST From: Peyman Faratin To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Unix itimer -> Dos itimer? Does anybody know if djgpp has a Unix struct equivalent to itimerval? I'm trying to time intervals in millisecs on the system. Basically, I'm writting a software for human reaction time testing. The time between successive stimuli should be a variable in milliseconds. I managed to solve the problem on Unix by using setitimer() to fill in struct itimerval (in sys/time.h). But when I transported the code to a PC I get djgpp error about itimerval. Is there such a struct and if not can anybody be kind enough to moot a possible suggestion of alternative solutions? Thankyou in advance. Peyman