Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mktemp(3C) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpid(2)



MKTEMP(3C)               DOMAIN/IX SYS5                MKTEMP(3C)



NAME
     mktemp - make a unique filename

USAGE
     char *mktemp(template)
     char *template;


DESCRIPTION
     Mktemp generates and returns the address of a unique, usu-
     ally temporary, filename based on template.  The template
     should look like a filename with six trailing Xs, for exam-
     ple

       t = mktemp("/tmp/tfXXXXXX");

     The Xs will be replaced with the current process ID and a
     unique letter.

NOTES
     It is possible to run out of letters.

RELATED INFORMATION
     getpid(2)





























Printed 12/4/86                                          MKTEMP-1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026