]>
diplodocus.org Git - nmh/blob - sbr/m_tmpfil.c
1b4f3549153bc553323d6fc3fb18bdbfe2b39ece
3 * m_tmpfil.c -- construct a temporary file
12 m_tmpfil (char *template)
14 static char tmpfil
[BUFSIZ
];
16 snprintf (tmpfil
, sizeof(tmpfil
), "/tmp/%sXXXXXX", template);
17 unlink(mktemp(tmpfil
));