Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tmpfile(3) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

creat

unlink

fopen, freopen, fdopen

mktemp

standard i/o library

tmpnam, tempnam

tmpfile

Purpose

     Creates a temporary file.

Library

     Standard I/O Library (libc.a)

Syntax

     #include <stdio.h>

     FILE *tmpfile ( )

Description

     The  tmpfile  subroutine  creates a  temporary  file  and
     returns its FILE pointer.  The file is opened for update.
     If Distributed Services is installed on your system, this
     file can reside on a  remote node.  The temporary file is
     automatically deleted  when the  process using  it termi-
     nates.

     If the  file cannot  be opened,  tmpfile writes  an error
     message to the  standard error output and  returns a NULL
     pointer.

Related Information

     In  this  book:    "creat,"  "unlink,"  "fopen,  freopen,
     fdopen," "mktemp,"  "standard i/o library,"  and "tmpnam,
     tempnam."

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