home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
emacs-19.28-src.tgz
/
tar.out
/
fsf
/
emacs
/
unixlib
/
src
/
tmpnam.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-28
|
197b
|
14 lines
#include "amiga.h"
#include <string.h>
#include <stdio.h>
char *tmpnam(char *s)
{
static char tmpbuf[L_tmpnam];
if (!s) s = tmpbuf;
strcpy(s, P_tmpdir "tmp_XXXXXX");
return mktemp(s);
}