Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tmpfile(3S) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

creat(2)

unlink(2)

fopen(3S)

mktemp(3C)

perror(3C)

tmpnam(3S)



TMPFILE(3S)              DOMAIN/IX SYS5               TMPFILE(3S)



NAME
     tmpfile - create a temporary file

USAGE
     #include <stdio.h>
     FILE *tmpfile()


DESCRIPTION
     Tmpfile creates a temporary file with a name generated by
     tmpnam(3S), and returns a corresponding FILE pointer.  If
     the file cannot be opened, an error message is printed using
     perror(3C), and a NULL pointer is returned.  The file will
     automatically be deleted when the process using it ter-
     minates.  The file is opened for writing ("w+").

RELATED INFORMATION
     creat(2), unlink(2), fopen(3S), mktemp(3C), perror(3C),
     tmpnam(3S)


































Printed 12/4/86                                         TMPFILE-1





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