Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>toascii</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
toascii
=======

Syntax
------

     #include <ctype.h>
     
     int toascii(int c);

Description
-----------

This function strips the high bit of C, forcing it to be an ASCII
character.

Return Value
------------

The ASCII character.

Example
-------

     for (i=0; buf[i]; i++)
       buf[i] = toascii(buf[i]);


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