getpid() or something similar

Peter Simons simons@cryp.to
22 May 2003 01:02:57 +0200


Please pardon me if it turns out I'm just blind, but is there any
function I can use to get some "unique" information to use for
temporary file names and the like? A function that will tell me my
process ID, for instance? 

I looked through Hugs and GHC, yet couldn't find anything but
Data.Unique, and that looks like big-time overkill for the purpose.

Any pointers are appreciated!

Peter