Ben Wing wrote:
hmm. strupr and strlwr should be ansi, i think.
No, neither function is specified by either version of ANSI C.
However, those names are "reserved" by ANSI (C9X, at least), so one
should allow for the possibility that they might exist:
7.26.10 General utilities <stdlib.h>
[#1] Function names that begin with str and a lowercase
letter (possibly followed by any combination of digits,
letters, and underscore) may be added to the declarations in
the <stdlib.h> header.
7.26.11 String handling <string.h>
[#1] Function names that begin with str, mem, or wcs and a
lowercase letter (possibly followed by any combination of
digits, letters, and underscore) may be added to the
declarations in the <string.h> header.
--
Glynn Clements <glynn.clements(a)virgin.net>