cvs commit: src/include ctype.h src/lib/libc/gen isctype.c tolower.c toupper.c

Jeroen Ruigrok/asmodai asmodai at in-nomine.org
Fri Jul 8 04:09:07 PDT 2005


-On [20050708 12:23], Dennis Melentyev (dennis.melentyev at xxxxxxxxx) wrote:
>If EOF is 'int -1' (0xFFFFFFFF), then having is*( _unsigned_ int) will
>solve the problem:
>Programmer will need to explicitely cast values to unsigned int,
>resulting in 0xFF for char -1 and 0xFFFFFFFF for EOF.

Both C standards, POSIX and SUS all state that the argument is:

is*(int c)

So not going to work.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
Where can I find a man who has forgotten words? I would like to have a word
with him...





More information about the Commits mailing list