summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-06-11 19:31:27 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-06-11 19:31:27 +0200
commit484f17b6bd0ba570714aa55c67fffa9ae31ae58f (patch)
treea45126b6213c37595e1d53dd96379dd9d4e184ac /inotail.h
parentb46b85361b47506fd097b2067d9cca1d2cfd6560 (diff)
parent5015c1eb9a07b2f8351249eac62ab1fe55f03395 (diff)
Merge branch 'master' into pipe
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 4c57867..836c1de 100644
--- a/inotail.h
+++ b/inotail.h
@@ -29,6 +29,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