summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-06-16 00:24:55 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-06-16 00:24:55 +0200
commit2d130ba3ed8decf9b39f6008da0d9ffaa43bc062 (patch)
tree4a40928166fea10460b0caa32139e3fd6b6bac90 /inotail.h
parent7f1ae64d5610c5ed4ceb9c07d6fd6ed7e7b98165 (diff)
parent06da83bc3a969c18ee99aa1b3ea511bf4c3763ff (diff)
Merge branch 'master' into buffersize
Conflicts: inotail.c
Diffstat (limited to 'inotail.h')
-rw-r--r--inotail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inotail.h b/inotail.h
index d1874b5..b215b43 100644
--- a/inotail.h
+++ b/inotail.h
@@ -32,6 +32,8 @@ struct file_struct {
#define IS_TAILABLE(mode) \
(S_ISREG(mode) || IS_PIPELIKE(mode) || S_ISCHR(mode))
+#define is_digit(c) ((c) >= '0' && (c) <= '9')
+
#ifdef DEBUG
# define dprintf(fmt, args...) fprintf(stderr, fmt, ##args)
#else