Standard C++ Library Reference ISO/IEC (VERSION3)

stdout
#define stdout <pointer to FILE rvalue>
The macro yields a pointer to the object that controls the standard output stream.
tmpfile
FILE *tmpfile(void)
The function creates a temporary binary file with the filename temp-name and then has the
same effect as calling fopen(temp-name, "wb+"). The file temp-name is removed
when the program closes it, either by calling fclose explicitly or at normal program
termination. The filename temp-name does not conflict with any filenames that you create. If
the open is successful, the function returns a pointer to the object controlling the stream;
otherwise, it returns a null pointer.
TMP_MAX
#define TMP_MAX <integer constant expression >= 25>
The macro yields the minimum number of distinct filenames created by the function tmpnam.
tmpnam
char *tmpnam(char *s);
The function creates a unique filename temp-name and returns a pointer to the filename. If s
is not a null pointer, then s must be the address of the first element of an array at least of size
L_tmpnam. The function stores temp-name in the array and returns s. Otherwise, if s is a
null pointer, the function stores temp-name in a static-duration array and returns the address
of its first element. Subsequent calls to tmpnam can alter the values stored in this array.
The function returns unique filenames for each of the first TMP_MAX times it is called, after
which its behavior is implementation defined. The filename temp-name does not conflict with
any filenames that you create.
ungetc
int ungetc(int c, FILE *stream);
If c is not equal to EOF, the function stores (unsigned char)c in the object whose address
is stream and clears the end-of-file indicator. If c equals EOF or the store cannot occur, the