CONV(3C) UNIX Programmer's Manual CONV(3C) NAME _toupper, _tolower, toupper, tolower, toascii - character translation SYNOPSIS int toupper (c) int c; int tolower (c) int c; #include int _toupper (c) int c; int _tolower (c) int c; int toascii (c) int c; HP-UX COMPATIBILITY Level: HP-UX/RUN ONLY Origin: System III DESCRIPTION _T_o_u_p_p_e_r and _t_o_l_o_w_e_r have as domain the range of _g_e_t_c: the integers from -1 through 255. If the argument of _t_o_u_p_p_e_r represents a lower-case letter, the result is the corresponding upper-case letter. If the argument of _t_o_l_o_w_e_r represents an upper-case letter, the result is the corresponding lower-case letter. All other arguments in the domain are returned unchanged. __t_o_u_p_p_e_r and __t_o_l_o_w_e_r are macros that accomplish the same thing as _t_o_u_p_p_e_r and _t_o_l_o_w_e_r but have restricted domains and are faster. __t_o_u_p_p_e_r requires a lower-case letter as its argument; its result is the corresponding upper-case letter. __t_o_l_o_w_e_r requires an upper-case letter as its argument; its result is the corresponding lower-case letter. Arguments outside the domain cause garbage results. Use of this form will never work with foreign character sets. _T_o_a_s_c_i_i yields its argument with all bits turned off that are not part of a standard 7 bit ASCII character; it is intended for compatibility with other systems.