tmpfile Question

Doug Gwyn gwyn at smoke.brl.mil
Thu Mar 28 07:54:32 AEST 1991


In article <2537.03.91 at drdhh.hanse.de> bjoern at drdhh.hanse.de writes:
>May a conforming program call tmpfile() more than once ?

Sure.  However, the implementation may choose to return a null pointer on
any or all calls to tmpfile(); how well it supports tmpfile() is a matter
of "quality of implementation".  The usual UNIX implementation supports
any number of open temporary files up to system limits on open file
descriptors for the process, etc.  (The file is unliked after being
opened.  Note that some non-UNIX file systems such as NFS may have
problems with that.)



More information about the Comp.std.c mailing list