section 7.8.2: Character Class Testing and Conversion

One quirk of these functions, which the authors mention briefly, is that although they accept arguments of type int, it is not legal to pass just any int value to them. If you were to attempt to call isupper(12345), it might do something bizarre. You should only call these functions with arguments which represent valid character values. (Also, they are guaranteed to accept the value EOF gracefully.)

Read sequentially: prev next up top

This page by Steve Summit // Copyright 1995, 1996 // mail feedback