http_dec_test.c
author viric <viriketo@gmail.com>
Fri, 30 Mar 2012 18:54:29 +0200
changeset 30 d30178b2a9e6
parent 20 45798398f4c8
permissions -rw-r--r--
Making the makefile not depend on /usr.

#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;
}