cvs: Rebuild without gnuregex library
[dragonfly.git] / gnu / lib / libregex / test / printchar.c
CommitLineData
984263bc
MD
1void
2printchar (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}