BSD 4_4 development
[unix-history] / usr / share / man / cat3 / toascii.0
TOASCII(3) BSD Programmer's Manual TOASCII(3)
N\bNA\bAM\bME\bE
t\bto\boa\bas\bsc\bci\bii\bi - convert a byte to 7-bit ASCII
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
#\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<c\bct\bty\byp\bpe\be.\b.h\bh>\b>
_\bi_\bn_\bt
t\bto\boa\bas\bsc\bci\bii\bi(_\bi_\bn_\bt _\bc);
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The t\bto\boa\bas\bsc\bci\bii\bi() function strips all but the low 7 bits from a letter, in-
cluding parity or other marker bits.
R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bES\bS
The t\bto\boa\bas\bsc\bci\bii\bi() function always returns a valid ASCII character.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
isascii(3), isalnum(3), isalpha(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3),
isupper(3), isxdigit(3), tolower(3), toupper(3), stdio(3), ascii(7)
4.4BSD June 4, 1993 1