TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Richard Hulme
from: Bob Plyler
date: 1995-04-23 07:25:00
subject: Unique Filenames

* In a message originally to All, Richard Hulme said:

 > I have a feeling this has been asked/explained before, but
 > anyway....

 > How can I create a file with a unique filename under OS/2?
 > I've looked through the Control Programming reference
 > (including a search on 'unique') but I can't seem to find
 > anything.

This is not a function of the control program.  It is a function of
the C library.  Look up tmpnam and tempnam.  They are both defined in
the C-Set run time library.

Bob Plyler

--- GEcho 1.11+
* Origin: The Transporter Room: 8 lines 22gig! 30 CD's 704/567-9513 (1:379/1)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 379/1 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.