summaryrefslogtreecommitdiff
path: root/common/test/test_uuid.cpp
blob: b4bb12d1762f68a3d512320cc4edb322867c614e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include "uuid/uuid.h"

int main(){
    for(int i = 0; i < 10; i++){
        uuid_t uu; 
        char buf[37];
        uuid_generate_random(uu);
        uuid_unparse(uu, buf);
        printf("uuid is: %s\n", buf);
    }
}