blob: 2b467e9900f76cfc795b32a17fb4c226faabb5fd [file] [log] [blame]
/*
* gen_uuid.c --- generate a DCE-compatible uuid
*
* Copyright (C) 1999, Andreas Dilger
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Public
* License.
* %End-Header%
*/
#include <stdio.h>
#include "uuid/uuid.h"
int
main (int argc, char *argv[])
{
char str[37];
uuid_t uu;
uuid_generate(uu);
uuid_unparse(uu, str);
printf("%s\n", str);
return 0;
}