summaryrefslogtreecommitdiff
path: root/include/linux/ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ctype.h')
-rw-r--r--include/linux/ctype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ctype.h b/include/linux/ctype.h
index 6dec944a370b..a3d6ee0044f9 100644
--- a/include/linux/ctype.h
+++ b/include/linux/ctype.h
@@ -27,6 +27,7 @@ extern const unsigned char _ctype[];
#define islower(c) ((__ismask(c)&(_L)) != 0)
#define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0)
#define ispunct(c) ((__ismask(c)&(_P)) != 0)
+/* Note: isspace() must return false for %NUL-terminator */
#define isspace(c) ((__ismask(c)&(_S)) != 0)
#define isupper(c) ((__ismask(c)&(_U)) != 0)
#define isxdigit(c) ((__ismask(c)&(_D|_X)) != 0)