summaryrefslogtreecommitdiff
path: root/lib/sig2str.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sig2str.c')
-rw-r--r--lib/sig2str.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sig2str.c b/lib/sig2str.c
index 00089be78..bf4b7cbe8 100644
--- a/lib/sig2str.c
+++ b/lib/sig2str.c
@@ -247,11 +247,11 @@ static struct numname { int num; char const name[8]; } numname_table[] =
#define NUMNAME_ENTRIES (sizeof numname_table / sizeof numname_table[0])
/* ISDIGIT differs from isdigit, as follows:
- - Its arg may be any int or unsigned int; it need not be an unsigned char.
- - It's guaranteed to evaluate its argument exactly once.
+ - Its arg may be any int or unsigned int; it need not be an unsigned char
+ or EOF.
- It's typically faster.
POSIX says that only '0' through '9' are digits. Prefer ISDIGIT to
- ISDIGIT_LOCALE unless it's important to use the locale's definition
+ isdigit unless it's important to use the locale's definition
of `digit' even when the host does not conform to POSIX. */
#define ISDIGIT(c) ((unsigned int) (c) - '0' <= 9)