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 working. There's no need to CC the cygwin-apps mailing-list with this. The cygwin-apps mailing-list is intended for "cygwin apps" not questions/inquiries regarding cygwin internals. Elfyn [EMAIL PROTECTED] --- "gilles BOURGEOIS" <[EMAIL PROTECTED]> 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 understand why, because my arguments seemes to be ok to me ! >Any help very appreciated. >gilles > > > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ _____________________________________________________________ www.smokeJet.com - Free UK Internet Services _____________________________________________________________ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/