This is m_tmpfil.c in view mode; [Download] [Up]
/* 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; }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.