[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <ctype.h> int toascii(int c); |
This function strips the high bit of c, forcing it to be an ASCII character.
The ASCII character.
ANSI/ISO C | No |
POSIX | No |
for (i=0; buf[i]; i++) buf[i] = toascii(buf[i]); |