1
1
iperf3/src/t_uuid.c

29 строки
654 B
C
Исходник Обычный вид История

/*
* Copyright (c) 2009-2011, The Regents of the University of California,
* through Lawrence Berkeley National Laboratory (subject to receipt of any
* required approvals from the U.S. Dept. of Energy). All rights reserved.
*
* This code is distributed under a BSD style license, see the LICENSE file
* for complete information.
*/
2009-07-23 18:22:24 +00:00
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "iperf_util.h"
2009-07-23 18:22:24 +00:00
int
main(int argc, char **argv)
{
char cookie[37];
make_cookie(cookie);
printf("cookie: '%s'\n", cookie);
if (strlen(cookie) != 36)
2009-07-23 18:22:24 +00:00
{
printf("Not 36 characters long!\n");
exit(-1);
2009-07-23 18:22:24 +00:00
}
exit(0);
}