Hi Jürgen: On 2015-03-31, at 12:53 PM, Juergen Sauermann <juergen.sauerm...@t-online.de> wrote:
> Peter: Chances are that on your box mkstemp is declared in > /usr/include/unistd.h instead of > /usr/include/stdlib.h. If that is so then please let me know and I will > revert the code and #include it. You are correct….. The following is in /usr/include/unistd.h starting at line701... on my box which is OS X 10.8.5 I also checked OS X 10.9.5 and it's also there in the same file at the same location (+- a few lines). …. int mkpath_np(const char *path, mode_t omode) __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_5_0); /* returns errno */ int mkstemp(char *); int mkstemps(char *, int); char *mktemp(char *); HTH respect…. Peter