Commit | Line | Data |
---|---|---|
8bb980a3 C |
1 | TOASCII(3) BSD Programmer's Manual TOASCII(3) |
2 | ||
3 | N\bNA\bAM\bME\bE | |
4 | t\bto\boa\bas\bsc\bci\bii\bi - convert a byte to 7-bit ASCII | |
5 | ||
6 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
7 | #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<c\bct\bty\byp\bpe\be.\b.h\bh>\b> | |
8 | ||
9 | _\bi_\bn_\bt | |
10 | t\bto\boa\bas\bsc\bci\bii\bi(_\bi_\bn_\bt _\bc); | |
11 | ||
12 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
13 | The t\bto\boa\bas\bsc\bci\bii\bi() function strips all but the low 7 bits from a letter, in- | |
14 | cluding parity or other marker bits. | |
15 | ||
16 | R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bES\bS | |
17 | The t\bto\boa\bas\bsc\bci\bii\bi() function always returns a valid ASCII character. | |
18 | ||
19 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
20 | isascii(3), isalnum(3), isalpha(3), iscntrl(3), isdigit(3), | |
21 | isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), | |
22 | isupper(3), isxdigit(3), tolower(3), toupper(3), stdio(3), ascii(7) | |
23 | ||
24 | 4.4BSD June 4, 1993 1 |