This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: String functions: strupr & strlwr


> I can't find the functions "strupr" and "strlwr" to transform a string in
> upper- and lowercase.

This is not really a compiler problem; it would depend on the C
library you are using. If you have an ANSI C library, you should find
the toupper and tolower functions in <ctype.h>. You'd then have to
define strupr and strlwr based on that - these functions are not part
of ANSI C (in fact, this is the first time I heard of them at all).

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]