tmpfile man page on NeXTSTEP

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


TMPFILE(3S)							   TMPFILE(3S)

NAME
       tmpfile - create a file to hold data temporarily

SYNOPSIS
       #include <stdio.h>

       FILE *tmpfile(void);

DESCRIPTION
       Tmpfile	creates a new file and opens it for output using binary update
       mode “wb+”.  There is no way to access the temporary file by name.  The
       file  is	 intended  to  be  used	 only  during  the  current  program's
       execution; it is automatically deleted upon program termination.

RETURN VALUE
       Tmpfile returns a pointer to the stream of the file  that  it  created.
       If the file cannot be created, tmpfile returns a null pointer.

       If it fails, errno is set to indicate the cause of the failure.

ERRORS
       Tmpfile will fail if one of the following conditions occur:

       [EMFILE]	      An attempt was made to open more than the maximum number
		      of file descriptors allowed in this process.

       [ENFILE]	      Too many files are currently open in the system.

SEE ALSO
       fopen(3S), tmpnam(3S)

				August 1, 1992			   TMPFILE(3S)
[top]

List of man pages available for NeXTSTEP

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