From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,68ad6174d4f465f6,start X-Google-Attributes: gidf678f,public From: Yuen-Chang Sun Subject: How to Generate a UUID? Date: 1997/08/26 Message-ID: <34023A9A.47F@ms7.hinet.net>#1/1 X-Deja-AN: 268525966 Organization: NTU EE Reply-To: ycsun@ms7.hinet.net Newsgroups: comp.unix.osf.misc I'm planning to write a program under UNIX. For some reason the program must use UUIDs, IDs that are universally unique, as defined in OSF/DCE. Under Win32 I can use CoCreateGUID, but how can I do so under UNIX? Is there a system function or have I to implement the algorithm myself? If I have to implement the algorithm, can anybody send the algorithm to me? Thank you in advance. Y. C. Sun