projects
/
mmh
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added test of -nosequence to test-pick.
[mmh]
/
docs
/
historical
/
mh-6.8.5
/
sbr
/
m_tmpfil.c
1
/* m_tmpfil.c - construct a temporary file */
2
3
#include "../h/mh.h"
4
#include <stdio.h>
5
6
7
char *m_tmpfil (template)
8
register char *template;
9
{
10
static char tmpfil[BUFSIZ];
11
12
(void) sprintf (tmpfil, "/tmp/%sXXXXXX", template);
13
(void) unlink (mktemp (tmpfil));
14
15
return tmpfil;
16
}