Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>toascii() convert 'c' to ascii character (macro)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 toascii()               Convert 'c' to ASCII Character (Macro)

 #include   <ctype.h>

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

    toascii() is a macro that 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'; no error return.

 Portability:   Not supported by ANSI standard.

See Also: isascii()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson