| delorie.com/djgpp/doc/libc/libc_825.html | search |
| [ < ] | [ > ] | [ << ] | [ 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]); |
| webmaster | delorie software privacy |
| Copyright © 2004 | Updated Apr 2004 |