Home
last modified time | relevance | path

Searched refs:fspec (Results 1 – 1 of 1) sorted by relevance

/coreutils/src/
Dtail.c1397 check_fspec (struct File_spec *fspec, struct File_spec **prev_fspec) in check_fspec() argument
1402 if (fspec->fd == -1) in check_fspec()
1405 name = pretty_name (fspec); in check_fspec()
1407 if (fstat (fspec->fd, &stats) != 0) in check_fspec()
1409 fspec->errnum = errno; in check_fspec()
1410 close_fd (fspec->fd, name); in check_fspec()
1411 fspec->fd = -1; in check_fspec()
1420 if (S_ISREG (fspec->mode) && stats.st_size < fspec->size) in check_fspec()
1423 xlseek (fspec->fd, 0, SEEK_SET, name); in check_fspec()
1424 fspec->size = 0; in check_fspec()
[all …]