Skip to content
forked from rxi/uuid4

Fork of uuid4, a tiny C library for generating uuid4 strings, with CMake compatability, thread-safety, more compatible with other platforms, and pending ESP32 support

License

Notifications You must be signed in to change notification settings

atsign-foundation/uuid4

 
 

Repository files navigation

uuid4

A tiny C library for generating uuid4 strings.

This repo has been forked from rxi/uuid4 in order to:

  • achieve greater compatability with the at_c SDK
  • provide compatability with ESP32

Usage

uuid4.c and uuid4.h should be dropped into an existing project. The library contains two functions: one to initialize the library and one to generate a uuid4 string and store it in a buffer of at least UUID4_LEN in size.

char buf[UUID4_LEN];
uuid4_init();
uuid4_generate(buf);
printf("%s\n", buf);

uuid4_generate() is not thread-safe.

License

This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.

About

Fork of uuid4, a tiny C library for generating uuid4 strings, with CMake compatability, thread-safety, more compatible with other platforms, and pending ESP32 support

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 48.7%
  • CMake 45.6%
  • Shell 5.7%