15 lines
229 B
C
15 lines
229 B
C
|
void
|
||
|
printchar (c)
|
||
|
char c;
|
||
|
{
|
||
|
if (c < 040 || c >= 0177)
|
||
|
{
|
||
|
putchar ('\\');
|
||
|
putchar (((c >> 6) & 3) + '0');
|
||
|
putchar (((c >> 3) & 7) + '0');
|
||
|
putchar ((c & 7) + '0');
|
||
|
}
|
||
|
else
|
||
|
putchar (c);
|
||
|
}
|