Character And String Processing Routines - HP 9000 User Manual

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

Table 6-11. Character and String Processing Routines
Routine
Description
toupper(c)
If c represents a valid lowercase letter for the current language,
toupper(c) returns the integer character code of the upshifted value
of c; otherwise toupper( c) returns c unaltered. The domain of this
routine is
-1
to 255
tolower(c)
If c represents a valid uppercase letter for the current language
tolower( c) returns the integer character code of the downshifted
value of c; otherwise, tolower( c) returns c unaltered. The domain of
this routine is
-1
to 255.
_toupper( c)
This macro performs like toupper but is faster and has a restricted
domain of 0 to 255. c must be a valid lower case character.
_tolower(c)
This macro performs like tolower but is faster and has a restricted
domain of 0 to 255. c must be a valid upper case character.
6
Developing International Software
6-23

Advertisement

Table of Contents
loading

Table of Contents