SCCS-vsn: usr.bin/tail/tail.c 5.2
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)tail.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)tail.c 5.2 (Berkeley) %G%";
#endif not lint
/* tail command
#endif not lint
/* tail command
#include <sys/file.h>
#include <errno.h>
#include <sys/file.h>
#include <errno.h>
struct stat statb;
int follow;
int piped;
struct stat statb;
int follow;
int piped;
if(!piped) {
(void)fstat(0,&statb);
/* If by lines, back up 1 buffer: else back up as needed */
if(!piped) {
(void)fstat(0,&statb);
/* If by lines, back up 1 buffer: else back up as needed */
if(statb.st_size > di)
(void)lseek(0,(off_t)-di,L_XTND);
if(!bylines)
if(statb.st_size > di)
(void)lseek(0,(off_t)-di,L_XTND);
if(!bylines)