History log of /u-boot/include/ctype.h
Revision Date Author Comments
# 93337abb 23-Aug-2011 Jason Hobbs <jason.hobbs@calxeda.com>

Add isblank

Existing ctype checks are implemented using a 256 byte lookup table,
allowing each character to be in any of 8 character classes. Since there
are 8 existing character classes without the blank class, I implemented
isblank without using the lookup table. Since there are only two blank
characters - tab and space - this is a more reasonable approach than
doubling the size of the lookup table to accommodate one more class.

Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>


# 543f0a38 20-Oct-2010 Mike Frysinger <vapier@gentoo.org>

ctype: constify lookup table

Signed-off-by: Mike Frysinger <vapier@gentoo.org>


# b15cbc0b 21-Aug-2000 wdenk <wdenk>

Initial revision