]>
diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/sbr/m_tmpfil.c
1 /* m_tmpfil.c - construct a temporary file */
7 char *m_tmpfil (template)
8 register char *template;
10 static char tmpfil
[BUFSIZ
];
12 (void) sprintf (tmpfil
, "/tmp/%sXXXXXX", template);
13 (void) unlink (mktemp (tmpfil
));