[Box Backup] setitimer etc
Gary
boxbackup@fluffy.co.uk
Wed, 27 Apr 2005 08:22:36 -0700 (PDT)
Nick,
> behaviour of your code it looks as though it is expecting it to be
> fired multiple times - is this the case for these calls in unix?
Yes. The itimerval structure passed to setitimer has two distinct
fields: it_value and it_interval. The former specifies the very first
signal for the timer. The later specifies all later (recurring)
signals.
http://docs.hp.com/en/B9106-90009/getitimer.2.html
... has a decent description.
Gary
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250