* Copyright (c) 1987, 1990, 1993
* The Regents of the University of California. All rights reserved.
* %sccs.include.redist.c%
static char copyright
[] =
"@(#) Copyright (c) 1987, 1990, 1993\n\
The Regents of the University of California. All rights reserved.\n";
static char sccsid
[] = "@(#)update.c 8.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");