9fans archive / 2005 / 01 / 469    prev next

search terms are split using tokenize from:regexp searches From: lines subject:regexp searches Subject: lines before:yyyy[/mm[/dd]] and after:yyyy[/mm[/dd]] specify date range powered by grep(1)
From: Russ Cox <russcox@gma...> Subject: mkstemp() Date: Fri, 28 Jan 2005 11:16:49 -0500 > What about two instances of the same program?. What I meant in my other mail > is that a big random number would probably suffice, as the probability of > collision is really low > (as you say we already have user separation). > Even more if it has an identifier per applications (ex. /tmp/acme.23423) > which also makes the name readable. In any case, if the create fails, you > can always generate the > random number again. which is exactly what mkstemp does.