On Sat, 2011-06-11 at 15:37 +0200, Julien Nabet wrote:
So I thought this :
1) for common part between Windows and other systems (Unix/Linux/BSD
and Mac) or for Windows specific, only createTempFile should be used.
2) for Unix/Linux/BSD and Mac only part, mkstemp/mktemp should be used
(to avoid overhead)
So tmpnam shouldn't be used at all.
Is this ok ?
Sure, though personally I'd just use createTempFile throughout to keep
things simple.
C.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.