From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <000501c50540$0cfdc290$0200000a@urjc1> From: =?UTF-8?Q?Gorka_Guardiola_M=C3=BAzquiz?= To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> References: Subject: Re: [9fans] mkstemp() Date: Fri, 28 Jan 2005 14:44:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 3818fac4-eace-11e9-9e20-41e7f4b1d025 Creating a name with a random number in /tmp like /tmp/acme.paurea.987987 wouldn't suffice?. Given we have private namespaces and random numbers normally don't collide /tmp/acme.234234 or even /tmp/23234234 would probably suffice too. ----- Original Message ----- From: To: <9fans@cse.psu.edu> Sent: Friday, January 28, 2005 2:39 PM Subject: [9fans] mkstemp() > need mkstemp() [BSD unistd.h] > any better idea than to copy the code from BSD | GNU ? > (I understand that returns a fd of a temp file) > > thanks, > ++pac. > >