* Copyright (c) 1987, 1990 The Regents of the University of California.
* %sccs.include.redist.c%
"@(#) Copyright (c) 1987, 1990 The Regents of the University of California.\n\
static char sccsid
[] = "@(#)update.c 5.1 (Berkeley) %G%";
(void)signal(SIGALRM
, mysync
);
value
.it_interval
.tv_sec
= 30;
value
.it_interval
.tv_usec
= 0;
value
.it_value
= value
.it_interval
;
if (setitimer(ITIMER_REAL
, &value
, NULL
)) {
perror("update: setitimer");