|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 420 (0x1a4)
Types: TextFile
Names: »tmpnam.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/euug-87hel/sec1/vn/tmpnam.c«
/*
** vn news reader.
**
** tmpnam.c - tmpnam() replacement for UCB, also uses non-generic name.
**
** see copyright disclaimer / history in vn.c source file
*/
#include <stdio.h>
#include "config.h"
char *tmpnam (buf)
char *buf;
{
static char *ptr = VNTEMPNAME;
/* depends on string initialized above */
sprintf (ptr+TMP_XOFFSET,"XXXXXX");
mktemp (ptr);
if (buf != NULL)
strcpy (buf,ptr);
return (ptr);
}