home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / ansi / stdio / tmpfile.txh < prev    next >
Encoding:
Text File  |  1995-07-10  |  496 b   |  27 lines

  1. @node tmpfile, stdio
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <stdio.h>
  6.  
  7. FILE *tmpfile(void);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This function opens a temporary file.  It will automatically be
  13. removed if the file is closed or when the program exits.  The name of
  14. the file is generated by the same algorithm as described under
  15. tmpnam() (@pxref{tmpnam}).
  16.  
  17. @subheading Return Value
  18.  
  19. A newly opened file.
  20.  
  21. @subheading Example
  22.  
  23. @example
  24. FILE *tmp = tmpfile();
  25. @end example
  26.  
  27.