Query: toascii
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
conv(3C) conv(3C)NAMEtoupper(), tolower(), _toupper(), _tolower(), toascii() - translate charactersSYNOPSISDESCRIPTIONand have as domain the range of getc(3S): the integers from -1 through 255. If the argument of represents a lower-case letter, the result is the corresponding upper-case letter. If the argument of represents an upper-case letter, the result is the corresponding lower-case letter. All other arguments in the domain are returned unchanged. Arguments outside the domain cause undefined results. The macros and are identical to and respectively. yields its argument with all bits that are not part of a standard 7-bit ASCII character cleared; it is intended for compatibility with other systems.WARNINGSis supplied both as a library function and as a macro defined in the header. Normally, the macro version is used. To obtain the library function, either use a to remove the macro definition or, if compiling in ANSI C mode, enclose the function name in parenthesis or take its address. The following examples use the library function for or The following example use the library function forEXTERNAL INFLUENCESLocale The category determines the translations to be done. International Code Set Support Single-byte character code sets are supported.AUTHORwas developed by IBM, OSF, and HP.SEE ALSOctype(3C), getc(3S), setlocale(3C), lang(5), thread_safety(5).STANDARDS CONFORMANCEconv(3C)