#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdarg.h>
#include <talloc.h>
#include "cfile.h"
Functions | |
| void | write_file (const char *name) |
| int | main (int argc, char *argv[]) |
Variables | |
| void * | context = NULL |
| CFile * | out = NULL |
test-cat is a 'cat' analogue which uses the cfile library. It's used as a partial test of the file reading routines provided by cfile. To test it, simply run 'test-cat $compressed_file | zdiff - $compressed_file' (or whatever your local compressed-file-reading-diff variant is). If the output is different, then obviously the cfile library is wrong!
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
| void write_file | ( | const char * | name | ) |
| void* context = NULL |
1.4.7