Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mktemp(3) — Ultrix-11 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpid(2)

tmpfile(3s)

tmpnam(3s)

mktemp(3)

NAME

mktemp − make a unique file name

SYNTAX

char *mktemp(template)
char *template;

DESCRIPTION

The mktemp subroutine replaces the contents of the string pointed to by template by a unique file name and returns the address of the template.  The string in template should look like a file name with six trailing X’s, which will be replaced with the current process id and a unique letter. 

SEE ALSO

getpid(2), tmpfile(3s), tmpnam(3s)

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