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)
Fri, Apr 26, 8:53 PM
Unknown Object (File)
Fri, Apr 26, 8:37 PM
Unknown Object (File)
Feb 21 2024, 3:02 PM
Unknown Object (File)
Oct 11 2023, 12:48 PM
Unknown Object (File)
Sep 16 2023, 10:19 AM
Unknown Object (File)
Jul 16 2023, 6:47 AM
Unknown Object (File)
Jun 29 2023, 3:49 PM
Unknown Object (File)
Jun 28 2023, 1:39 AM
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.