author | viric@llimona |
Sat, 01 Sep 2007 13:04:10 +0200 | |
changeset 20 | 45798398f4c8 |
parent 19 | 4da6dbf01423 |
child 21 | 01fe372188ac |
http_dec_test.c | file | annotate | diff | comparison | revisions |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/http_dec_test.c Sat Sep 01 13:04:10 2007 +0200 @@ -0,0 +1,20 @@ +#include <stdio.h> +#include "dictre.h" + +int main() +{ + char tmp[500]; + int c; + + do + { + c = http_getc(stdin); + if (c < 0) + break; + putchar(c); + } while (1); + + printf("\nLast char val: %i\n", c); + + return 0; +}