diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2006-10-20 17:55:55 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-10-20 17:55:55 +0200 |
commit | 3e1ce3d550b37d6f833c01860b24166a89908576 (patch) | |
tree | c283d2e975947dc177569589a3fc339738969815 /inotail.h | |
parent | a1b88302d515b04255b5bd164378ee15d4c69a11 (diff) |
inotail.c: Add basic support for +/-<num> to -c/-n
Diffstat (limited to 'inotail.h')
-rw-r--r-- | inotail.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) */ |