[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
toascii()                Convert 'c' to ASCII Character

 #include   <ctype.h>

 int        toascii(c);
 int        c;                           Character to be converted

    The toascii() macro converts the integer 'c' to a value in the ASCII
    character set (0 - 127) by clearing all but the lower seven bits.
    'c' is left unchanged if it already represents an ASCII character.

    Returns:    The converted character 'c'.  There is no error return.

See Also: isascii()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson