Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mktemp(3C) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpid(2)

tmpfile(3S)

tmpnam(3S)



     mktemp(3C)                                             mktemp(3C)



     NAME
          mktemp - make a unique filename

     SYNOPSIS
          char *mktemp (template)
          char *template;

     DESCRIPTION
          mktemp replaces the contents of the string pointed to by
          template with a unique filename; it returns the address of
          template.  The string in template should look like a
          filename with six trailing Xs; mktemp replaces the Xs with a
          letter and the current process ID.  The letter is chosen so
          that the resulting name does not duplicate an existing file.

     SEE ALSO
          getpid(2), tmpfile(3S), tmpnam(3S).

     BUGS
          It is possible to run out of letters.



































     Page 1                                        (last mod. 1/14/87)



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