🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #264

Re: /tmp files

#264
From: Stephen Riehm
Date: Mon, 03 Aug 1992 08:13
19 lines
859 bytes
scairns@is.morgan.com writes:

>Is there a system call to randomly generate unique file names
>in /tmp?  

there are two:
mktemp(1)	for scripts
mktemp(3C)	for programs.

man 3 mktemp will get you the second manpage if you have a brain dead
man program like me :-)

catchya

-----------------------------------------------------------------
Stephen Riehm				   smr@pki-nbg.philips.de
I speak for three people only, Me, Myself and I.
	    "what? schizophrenic? us?"
PS: I know my From: line is wrong, but I don't know WHY!
Technical Details
Message-ID: <smr.712829617@hitkw14>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!unido!pki-nbg!hitkw14!smr
References: <1992Jul31.095122@is.morgan.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!unido!pki-nbg!hitkw14!smr
From: smr@iti.org (Stephen Riehm)
Newsgroups: comp.unix.programmer
Subject: Re: /tmp files
Message-ID: <smr.712829617@hitkw14>
Date: 3 Aug 92 08:13:37 GMT
References: <1992Jul31.095122@is.morgan.com>
Sender: news@pki-nbg.philips.de
Lines: 19