diff options
author | Adam David <adam@FreeBSD.org> | 1996-07-30 13:11:43 +0000 |
---|---|---|
committer | Adam David <adam@FreeBSD.org> | 1996-07-30 13:11:43 +0000 |
commit | 49a598ab871d98eba3cd0a21937b729716727cbb (patch) | |
tree | b6ca9a0d0964a44c50564db82f2f4288e3907a16 /usr.bin/tail/extern.h | |
parent | 50f56e483ad735716aa51d0ba798a096cd772bc7 (diff) | |
download | src-49a598ab871d98eba3cd0a21937b729716727cbb.tar.gz src-49a598ab871d98eba3cd0a21937b729716727cbb.zip |
when file can be opened for read but cannot be read from:
fail once (was twice) in forward case
fail once (was no times) in reverse case
this can happen when file is a directory on an NFS or procfs mount.
Notes
Notes:
svn path=/head/; revision=17339
Diffstat (limited to 'usr.bin/tail/extern.h')
-rw-r--r-- | usr.bin/tail/extern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tail/extern.h b/usr.bin/tail/extern.h index 65efc144f5a8..f1daa9b2de2e 100644 --- a/usr.bin/tail/extern.h +++ b/usr.bin/tail/extern.h @@ -42,8 +42,8 @@ enum STYLE { NOTSET = 0, FBYTES, FLINES, RBYTES, RLINES, REVERSE }; void forward __P((FILE *, enum STYLE, long, struct stat *)); void reverse __P((FILE *, enum STYLE, long, struct stat *)); -void bytes __P((FILE *, off_t)); -void lines __P((FILE *, off_t)); +int bytes __P((FILE *, off_t)); +int lines __P((FILE *, off_t)); void err __P((int fatal, const char *fmt, ...)); void ierr __P((void)); |