[5640] in Athena Bugs
vax 7.0F: ctype.h
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Tue Jul 31 11:38:49 1990
Date: Tue, 31 Jul 90 11:38:30 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: deevans@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU
In-Reply-To: bugs[5639]
From: deevans@ATHENA.MIT.EDU
Date: Tue, 31 Jul 90 11:32:51 EDT
man ctype:
tolower c is converted to lower case. Return value
is undefined if not isupper(c).
(Well, I guess it does satisfy the "is undefined" return value spec.
Should have checked here first. Does this mean athena c does not
conform to K&R????)
No, what it means is that *Unix* C does not conform to K&R. There are
numerous things about Unix C that are not K&R conformant, nor is this
configured a bug.
Don't rely on K&R to give you the real scoop for library functions you
use under Unix. Read the man page.
Of course, it will be easier to rely on K&R if you're using K&R Mark
II and working on an ANSI C conformant system. Unfortunately,
Athena's programming environment is not yet ANSI C compliant, and
probably won't be completely compliant for a while.
Jonathan Kamens
Project Athena Quality Assurance