Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tmpfile(S) — System V/386 Software Development System 3.2.2b

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     TMPFILE(S)                UNIX System V                TMPFILE(S)



     Name
          tmpfile - create a temporary file

     Syntax
          #include <stdio.h>

          FILE *tmpfile ()

     Description
          The tmpfile function creates a temporary file using a name
          generated by tmpnam(S), and returns a corresponding FILE
          pointer.  If the file cannot be opened, a NULL pointer is
          returned.  The file will automatically be deleted when the
          process using it terminates.  The file is opened for update
          ("w+").

     See Also
          creat(S), unlink(S), fopen(S), mktemp(S), stdio(S),
          tmpnam(S)

     Standards Conformance
          tmpfile is conformant with:
          AT&T SVID Issue 2, Select Code 307-127;
          The X/Open Portability Guide II of January 1987;
          ANSI X3.159-198X C Language Draft Standard, May 13,
          1988;
          IEEE POSIX Std 1003.1-1988 with C Standard Language-
          Dependent System Support;
          and NIST FIPS 151-1.

                                                (printed 6/20/89)



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