summaryrefslogtreecommitdiff
path: root/src/stdio/tmpfile_s.c
blob: 84bff0c85db6c705c13c3f7f441a655f5e03eda1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#if 0

#include <stdio.h>

/* open a temporary file stream */
errno_t tmpfile_s(FILE * restrict * restrict streamptr)
{
	__C_EXT(1, 201112L);
	return 0;
}

/***
The fn(tmpfile) function creates a temporary binary file stream for update (as
when arg(mode) is specified as string(wb+) to fn(fopen)). The file stream will
be automatically removed when closed by fn(fclose) or when the program exits.
***/

/* UNSPECIFIED: - */
/* UNDEFINED: - */
/* IMPLEMENTATION: whether the temporary file is removed if the program terminates abnormally */
/* LOCALE: - */

/* RETURN(NULL): a temporary file stream could not be created */
/* RETURN: a pointer to the temporary file stream */

/*
CEXT1(201112)
*/


#endif