Lines Matching refs:check
55 "[c:check?Each \afile\a is interpreted as the output from a previous \bsum\b."
70 " \b--check\b and \b--permissions\b.]"
73 "[p:permissions?If \b--check\b is not specified then list the file"
75 " matching the caller are output as \b-\b. If \b--check\b is"
80 "[S:silent|status?No output for \b--check\b; 0 exit status means all sums"
89 "[w!:warn?Warn about invalid \b--check\b lines.]"
122 Sfio_t* check; /* check previous output */
133 int silent; /* silent check, 0 exit if ok */
139 int warn; /* invalid check line warnings */
178 pr(State_t* state, Sfio_t* op, Sfio_t* ip, char* file, int perm, struct stat* st, Sfio_t* check)
186 if (check)
190 verify(state, p, file, check);
258 verify(State_t* state, register char* s, char* check, Sfio_t* rp)
393 error(3, "%s: %s: unknown checksum method", check, s);
398 error(1, "%s: %s: unknown option", check, s);
412 if (sp = openfile(file, state->check ? "rt" : "rb"))
414 pr(state, sfstdout, sp, file, state->permissions, NiL, state->check);
476 if (!(state.check = sfstropen()))
477 error(3, "out of space [check]");
544 * check the method
567 if (!state.check && (state.header || state.permissions))
591 pr(&state, sfstdout, sfstdin, "/dev/stdin", state.permissions, NiL, state.check);
606 pr(&state, sfstdout, sp, ent->fts_path, state.permissions, ent->fts_statp, state.check);