🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2591

tmpfile Question

#2591
From: Bjoern Kriews
Date: Sun, 24 Mar 1991 16:25
23 lines
1165 bytes
Hello Netland !

I've a question about tmpfile().
My 'Mark Williams lexical guide to ANSI C' states (referring to 4.9.4.3):

"tmpfile creates a file to hold data temporarily.
The file is opened in binary update mode (wb+) and 
is removed automatically when it is closed or the 
program ends."

My question is: 
May a conforming program call tmpfile() more than once ?
The MW Book doesn't say anything about it and my clib
always creates the same file (brain-damaged at all). 
I would like to have a definitive statement before 
I go and complain to my vendor.

Thanks,
	Bjoern
	
---
bjoern@drdhh.hanse.de = Bjoern Kriews / Stormsweg 6 / 2000 Hamburg 76 / FRG
Technical Details
Message-ID: <2537.03.91@drdhh.hanse.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!spool.mu.edu!uunet!math.fu-berlin.de!opal!unido!mcshh!abqhh!drdhh!bjoern

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!spool.mu.edu!uunet!math.fu-berlin.de!opal!unido!mcshh!abqhh!drdhh!bjoern
From: bjoern@drdhh.hanse.de (Bjoern Kriews)
Newsgroups: comp.std.c
Subject: tmpfile Question
Summary: How often may I call tmpfile
Keywords: tmpfile, conforming
Message-ID: <2537.03.91@drdhh.hanse.de>
Date: 24 Mar 91 16:25:04 GMT
Reply-To: bjoern@drdhh.hanse.de
Organization: Digital Island
Lines: 26