git.samba.org
/
tridge
/
junkcode.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added demo of signal/uid handling feature
[tridge/junkcode.git]
/
myupdate.c
1
#include <unistd.h>
2
#include <stdio.h>
3
4
5
int main(int argc,char *argv[])
6
{
7
int delay = 30;
8
if (argc>1)
9
delay = atoi(argv[1]);
10
11
while (1)
12
{
13
sleep(delay);
14
sync();
15
}
16
return(0);
17
}
18