home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
mac
/
developm
/
librarie
/
posix10.sit
/
POSIX
/
ThinkCPosix
/
mktemp.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-09-11
|
280 b
|
17 lines
/* $Id: $ */
/*
* This presently overwrites the contents of template.
*/
#include "ThinkCPosix.h"
char *mktemp(char *template)
{
if (template == NULL || strlen(template) < 8) {
fprintf(stderr, "mktemp: template too short\n");
return NULL;
}
return tmpnam(template);
}