Page MenuHomeFreeBSD

Create libstand version of uuid_from_string and uuid_to_string.
ClosedPublic

Authored by imp on Dec 13 2015, 7:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 10:34 PM
Unknown Object (File)
Mon, Nov 25, 7:30 PM
Unknown Object (File)
Oct 2 2024, 8:15 AM
Unknown Object (File)
Sep 27 2024, 12:00 AM
Unknown Object (File)
Sep 24 2024, 2:33 PM
Unknown Object (File)
Sep 24 2024, 12:56 PM
Unknown Object (File)
Aug 11 2024, 5:36 PM
Unknown Object (File)
Aug 7 2024, 6:47 PM
Subscribers
None

Details

Summary

Create libstand version of uuid_from_string and uuid_to_string. The
normal libc versions of these functions use asprintf and sscanf, both
of which aren't available in the libstand world. It's easier to
rewrite these than to try to claw those functions into libstand.
Also include uuid_create_nil, since it's safe to include. These were
written from scratch, except for bits of comments that I got from the
libc version, which are acknowledged in the source.

Bonus question: maybe I should just replace the libc versions with
this, eh? I believe they are compatible.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp retitled this revision from to Create libstand version of uuid_from_string and uuid_to_string..
imp updated this object.
imp edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.