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: }

Defined functions

m_tmpfil defined in line 7; never used
Last modified: 1985-11-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 882
Valid CSS Valid XHTML 1.0 Strict