Example #1
0
void
last_init()
{
    lastfile = savestr(filexp(LASTNAME));

    starttime = (long)time((time_t*)NULL);
    readlast();
}
void
backpage_init()
{
    char *varyname;
    
    varyname = filexp(VARYNAME);
    close(creat(varyname,0600));
    varyfd = open(varyname,2);
    UNLINK(varyname);
    if (varyfd < 0) {
	printf(cantopen,varyname) FLUSH;
	sig_catcher(0);
    }
    
}