#include <cassert>
#include <cstdlib>
#include <cstdio>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <vector>
#include "VolHeader.H"
#include "volhdr_edit_cmd.h"
#include "debug.H"
#include <sys/types.h>
#include <sys/stat.h>
Functions | |
| bool | FileCopy (FILE *in, FILE *out, const size_t len) |
| using fread and fwrite, copy a file from in to out | |
| bool | AppendFile (FILE *out, const string filename) |
| Add a file on to the end of an existing FILE that we have open. | |
| int | main (int argc, char *argv[]) |
Variables | |
| int | debug_level |
| The main program needs to define this as a non-extern. | |
| static const UNUSED char * | RCSid = "@(#) $Id: volhdr_edit.C,v 1.6 2004/11/03 00:42:36 schwehr Exp $" |
| Let the debugger find out which version is being used. | |
|
||||||||||||
|
Add a file on to the end of an existing FILE that we have open.
|
|
||||||||||||||||
|
using fread and fwrite, copy a file from in to out
|
|
||||||||||||
|
|
|
|
The main program needs to define this as a non-extern.
|
|
|
Let the debugger find out which version is being used.
|
1.4.6