projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6c9e38da50ee1798f64d99aeb78f1a12eb005b0a
[ghc-hetmet.git]
/
ghc
/
misc
/
examples
/
cats
/
ccat5.c
1
#include <stdio.h>
2
3
main ()
4
{
5
int c;
6
while ((c = getchar()) != EOF) {
7
putchar(c);
8
}
9
exit(0);
10
}
11
12
/*
13
-- 2,085,477 bytes/sec ( 600KB input)
14
-- 2,320,718 bytes/sec ( 9.3MB input)
15
-- 2,130,143 bytes/sec (25.5MB input)
16
*/