http_dec_test.c
changeset 20 45798398f4c8
equal deleted inserted replaced
19:4da6dbf01423 20:45798398f4c8
       
     1 #include <stdio.h>
       
     2 #include "dictre.h"
       
     3 
       
     4 int main()
       
     5 {
       
     6     char tmp[500];
       
     7     int c;
       
     8 
       
     9     do
       
    10     {
       
    11         c = http_getc(stdin);
       
    12         if (c < 0)
       
    13             break;
       
    14         putchar(c);
       
    15     } while (1);
       
    16 
       
    17     printf("\nLast char val: %i\n", c);
       
    18 
       
    19     return 0;
       
    20 }