projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git]
/
ghc
/
runtime
/
regex
/
test
/
printchar.c
1
void
2
printchar (c)
3
char c;
4
{
5
if (c < 040 || c >= 0177)
6
{
7
putchar ('\\');
8
putchar (((c >> 6) & 3) + '0');
9
putchar (((c >> 3) & 7) + '0');
10
putchar ((c & 7) + '0');
11
}
12
else
13
putchar (c);
14
}