There is a libuuid. zoneadm for instance uses this library to generate UUIDs for zones.
man -s 3lib libuuid Ananth ameya agnihotri wrote: > Hi All, > > Is there any API in C which will generate an UUID? > If yes, which library does it use? > > Regards, > Ameya > -- > Dont think you are, > Know you are. > -Legendary Morpheus in The Matrix