Lines Matching defs:stat
184 int (*stat)(const char*, struct stat*); /* stat */
206 preserve(State_t* state, const char* path, struct stat* ns, struct stat* os)
253 struct stat st;
309 stat(state->path, &st);
333 if (stat(state->path, &st))
334 error(ERROR_SYSTEM|2, "%s: cannot stat", state->path);
371 if (!(*state->stat)(state->path, &st))
414 if ((*state->stat)(state->path, &st))
656 if (stat(state->path, &st))
657 error(ERROR_SYSTEM|2, "%s: cannot stat", state->path);
690 struct stat st;
721 state->stat = stat;
731 state->stat = lstat;
740 state->stat = lstat;
807 state->stat = lstat;
820 state->stat = lstat;
965 if (!(state->directory = !stat(file, &st) && S_ISDIR(st.st_mode)) && argc > 1)