2
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3
Copyright (C) 2005- The University of Notre Dame
4
This software is distributed under the GNU General Public License.
5
See the file COPYING for details.
14
int main(int argc, char **argv)
16
char **files = malloc(2 * sizeof(*files));
18
files[0] = malloc(8 * sizeof(*files[0]));
19
strcpy(files[0], "chunk.c");
21
files[1] = malloc(8 * sizeof(*files[0]));
22
strcpy(files[1], "chunk.h");
24
if (!chunk_concat("large_chunk.txt", (char **)files, 2, "> ", NULL))
26
fprintf(stderr, "chunk_test: chunk_concat failed\n");