Hi, on /usr/include/stdlib.h
the function mkstemp is defined as ----------------------------------------------- #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809 char * mkdtemp (char *); #endif #if __GNU_VISIBLE int mkostemp (char *, int); int mkostemps (char *, int, int); #endif #if __MISC_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 4 int mkstemp (char *); #endif ----------------------------------------------- but a note on https://pubs.opengroup.org/onlinepubs/9799919799/functions/mkdtemp.html says The mkstemp() function is moved from the XSI option to the Base. Regards Marco -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

