From 3e1ce3d550b37d6f833c01860b24166a89908576 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 20 Oct 2006 17:55:55 +0200 Subject: inotail.c: Add basic support for +/- to -c/-n --- inotail.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inotail.h') diff --git a/inotail.h b/inotail.h index b47e6a4..40b0e29 100644 --- a/inotail.h +++ b/inotail.h @@ -7,6 +7,9 @@ /* tail modes */ enum { M_LINES, M_BYTES }; +/* tail unit relative to the end ('-' or none) or the beginning ('+' of the file) */ +enum { R_END, R_BEGIN }; + /* Every tailed file is represented as a file_struct */ struct file_struct { char *name; /* Name of file (or '-' for stdin) */ -- cgit v1.2.3-54-g00ecf > cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
ModeNameSize