Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tmpfile(3C) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                              tmpfile(3C)



        _________________________________________________________________
        tmpfile                                                  function
        Create and open a temporary file.
        _________________________________________________________________


        Calling Sequence

        #include <stdio.h>
        FILE *tmpfile(), *fp;
        fp = tmpfile();


          where   fp returns a pointer to an open file descriptor of a
                  file that will be deleted at process termination.



        Description

        The tmpfile function creates and opens a temporary file.  Other
        processes, including child processes, will not be able to refer
        to this file.


        Returns

        The tmpfile function returns a pointer to an open file
        descriptor.


        Related Functions

        See also the mktemp and tmpnam functions.




















        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)



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