Re: setitimer failure

2002-12-30 Thread Christopher Faylor
On Mon, Dec 30, 2002 at 11:11:50AM +0100, gilles BOURGEOIS wrote: >hello. >I really have to know if the setitimer() primitive works well using cywgin >dll >I am currently using NT5.0 (2000) >I call setitimer(ITIMER_VIRTUAL, &interval, NULL) and it returns -1 with bad >argument as errno . >I do not

Re: setitimer failure

2002-12-30 Thread Elfyn McBratney
Doesn't setitimer require two struct's as it's last two arguments? Have you checked the setitimer(2) manpage to make sure your using the function correctly? Although it's not included with cygwin you can find it on google. Perhaps you could send along the source of the file your trying to get wor

setitimer failure

2002-12-30 Thread gilles BOURGEOIS
hello. I really have to know if the setitimer() primitive works well using cywgin dll I am currently using NT5.0 (2000) I call setitimer(ITIMER_VIRTUAL, &interval, NULL) and it returns -1 with bad argument as errno . I do not understand why, because my arguments seemes to be ok to me ! Any help ver