tmpfile man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

TMPFILE(3)			    NEWLIB			    TMPFILE(3)

NAME
       4.64 `tmpfile'--create a temporary file

SYNOPSIS
	    #include <stdio.h>
	    FILE *tmpfile(void);

	    FILE *_tmpfile_r(struct _reent *REENT);

DESCRIPTION
       Create  a  temporary file (a file which will be deleted automatically),
       using a name generated by `tmpnam'.  The temporary file is opened  with
       the  mode `"wb+"', permitting you to read and write anywhere in it as a
       binary file (without any data transformations the host system may  per‐
       form for text files).

	  The  alternate  function  `_tmpfile_r'  is a reentrant version.  The
       argument REENT is a pointer to a reentrancy structure.

RETURNS
       `tmpfile' normally returns a pointer to the temporary file.  If no tem‐
       porary  file  could be created, the result is NULL, and `errno' records
       the reason for failure.

PORTABILITY
       Both ANSI C and the System V Interface  Definition  (Issue  2)  require
       `tmpfile'.

	  Supporting  OS  subroutines  required:  `close',  `fstat', `getpid',
       `isatty', `lseek', `open', `read', `sbrk', `write'.

	  `tmpfile' also requires the global pointer `environ'.

SEE ALSO
       tmpfile is part of the library.	The full documentation	for  is	 main‐
       tained as a Texinfo manual.  If info and are properly installed at your
       site, the command

	      info

       will give you access to the complete manual.

NEWLIB				  April 2010			    TMPFILE(3)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net