Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mktemp(S) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpid(S)

tmpfile(S)

tmpnam(S)



     MKTEMP(S)                XENIX System V                 MKTEMP(S)



     Name
          mktemp - Makes a unique filename.

     Syntax
          char *mktemp(template)
          char *template;

     Description
          mktemp replaces template with a unique filename and returns
          the address of template.  The template should look like a
          filename with six trailing X's, which will be replaced with
          the current process ID preceded by a letter.  The letter
          will be chosen so that the resulting name does not duplicate
          an existing file.

     See Also
          getpid(S), tmpfile(S), tmpnam(S)

     Notes
          It is possible to run out of letters.



































     Page 1                                           (printed 8/7/87)



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