Universally Unique Identifiers
wiki
Here are various ways to generate universally unique identifiers (UUID's)
[1]
in Lua.
Linux distributions may provide the 'uuid' command:
local fh = assert(io.popen'uuid'); print(fh:read'*l'); fh:close()
. This is also mentioned in
[PiL]
.
[lhf's uuid]
is a small C wrapper around libuuid
Lua/APR provides a
[uuid_get]
functions, wrapping the corresponding APR C function.
RecentChanges
·
preferences
edit
·
history
Last edited February 22, 2011 2:45 am GMT
(diff)