DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦3e8937c04⟧ TextFile

    Length: 293 (0x125)
    Types: TextFile
    Names: »m_tmpfil.c«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« 
        └─⟦c75e36ecb⟧ 
            └─⟦this⟧ »mh-6.7/sbr/m_tmpfil.c« 

TextFile

/* m_tmpfil.c - construct a temporary file */

#include "../h/mh.h"
#include <stdio.h>


char   *m_tmpfil (template)
register char  *template;
{
    static char tmpfil[BUFSIZ];

    (void) sprintf (tmpfil, "/tmp/%sXXXXXX", template);
    (void) unlink (mktemp (tmpfil));

    return tmpfil;
}