diff options
Diffstat (limited to 'test/abc.c')
-rw-r--r-- | test/abc.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/abc.c b/test/abc.c deleted file mode 100644 index 43583ec52..000000000 --- a/test/abc.c +++ /dev/null @@ -1,28 +0,0 @@ -#include <stdio.h> -#include <fcntl.h> -#include <sys/types.h> -#include "apr_file_io.h" -#include "apr_general.h" - -int main(int argc, char *argv[]) -{ - ap_file_t *fd; - char ch; - int status = 0; - ap_context_t *context; - - ap_create_context(NULL, NULL, &context); - - ap_open(context, argv[1], APR_READ, -1, &fd); - - while (!status) { - status = ap_getc(fd, &ch); - if (status == APR_EOF ) - fprintf(stdout, "EOF, YEAH!!!!!!!!!\n"); - else if (status == APR_SUCCESS) - fprintf(stdout, "%c", ch); - else - fprintf(stdout, " Big error, NOooooooooo!\n"); - } - return 1; -} |