Repositories (2)
Research-Unix-v10
3 snippets stored for this repo
goto fubar;
}
Totsecs = 0;
if (Filcnt==0) { /* bitch if we couldn't open ANY files */
fprintf(stderr,"\r\nCan't open any requested files.\n");
return ERROR;
}
if (wwvtime >= nowtime)
printf("advanced %ld sec\n", wwvtime-nowtime);
else
printf("retarded %ld sec\n", nowtime-wwvtime);
if ((wf = open("/usr/adm/wtmp", 1)) >= 0) {
time(&wtmp[1].ut_time);
lseek(wf, 0L, 2);
while (*pt++ = *ps++);
/* Testing of expressions and operators is quite complicated,
because (a) problems are apt to surface in queer combinations
of operators and operands, rather than in isolation,
and (b) the number of expressions needed to provoke a case
of improper behaviour may be quite large. Hence, we take the