md5rec.c
author Markus Bröker <mbroeker@largo.dyndns.tv>
Fri, 05 Mar 2010 23:16:32 +0100
changeset 119 305d2ca32936
parent 77 49e0babccb23
child 124 8a983ee5fab7
permissions -rw-r--r--
crypt.h seems to be broken on many systems. The manpage tells me that i have to include unistd.h... committer: Markus Bröker <mbroeker@largo.homelinux.org>

/**
 * md5rec.c
 * Copyright (C) 2008 Markus Broeker
 */

#include <stdio.h>
#include <stdlib.h>
#include <lsf.h>

int main (int argc, char **argv)
{
    if (argc != 2) {
        printf ("Usage: %s <directory>\n", argv[0]);
        printf ("Report bugs to mbroeker@largo.homelinux.org\n");
        return EXIT_FAILURE;
    }

    md5recursive (argv[1], 1);

    return EXIT_SUCCESS;
}