Plan 9 from Bell Labs’s /usr/web/sources/contrib/oraccha/iperf3/t_uuid.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


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

#include "uuid.h"

int
main(int argc, char **argv)
{
    char     *uuid;
    get_uuid(uuid);
    if (strlen(uuid) != 36)
    {
	printf("uuid is not 37 characters long %s.\n", uuid);
	exit(-1);
    }
    exit(0);
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.