>>>>> "Jocelyn" == Jocelyn Fiat <
jf...@eiffel.com> writes:
Jocelyn> Indeed this code has to be improved. I am wondering if
Jocelyn> tmpfile() is available for all platform.
For a draft implementation, see EPX_WSF_REQUEST:
https://github.com/berenddeboer/eposix/blob/f7f59c70151056bbbdbae05d24d4df9f53cfc8b3/src/ewf/epx_wsf_request.e
I'm using a SUS_ class (SUS_TEMPORARY_FILE), meaning it's based on the
Standard Unix Specification. The routine it uses is mkstemp().
I have an STDC_TEMPORARY_FILE class as well, which uses tmpfile(), an
STDC_ class is available on all platforms with a C compiler, so the
answer is yes, available on all platforms.
Jocelyn> and is it safe in concurrent application?
It is.