version 1.6, 1997/07/25 06:46:24 |
version 1.6.6.1, 1999/12/27 18:26:59 |
|
|
{ |
{ |
int bcnt, cnt, nr, warned; |
int bcnt, cnt, nr, warned; |
|
|
/* If not a character, pipe or tape device, try to seek on it. */ |
/* If not a pipe or tape device, try to seek on it. */ |
if (!(in.flags & (ISCHR|ISPIPE|ISTAPE))) { |
if (!(in.flags & (ISPIPE|ISTAPE))) { |
if (lseek(in.fd, (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) |
if (lseek(in.fd, (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) |
== -1) |
== -1) |
err(1, "%s", in.name); |
err(1, "%s", in.name); |