mirror of https://github.com/BOINC/boinc.git
20 lines
354 B
C
20 lines
354 B
C
#include <cstdio>
|
|
|
|
#include "md5_file.h"
|
|
|
|
int main(int, char** argv) {
|
|
char out[33];
|
|
double nbytes;
|
|
|
|
md5_file(argv[1], out, nbytes);
|
|
printf("%s\n%f bytes\n", out, nbytes);
|
|
|
|
return 0;
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
static volatile const char __attribute__((unused)) *BOINCrcsid="$Id$";
|
|
#else
|
|
static volatile const char *BOINCrcsid="$Id$";
|
|
#endif
|