Add mkostemp and mkostemps.

* mktemp.cc (_gettemp): Add flags argument.  All callers updated.
(mkostemp, mkostemps): New functions.
* cygwin.din (mkostemp, mkostemps): Export.
* posix.sgml: Document them.
* include/cygwin/version.h: Bump version.
This commit is contained in:
Eric Blake
2010-07-19 18:22:40 +00:00
parent 8092f46770
commit 3083fa9447
5 changed files with 35 additions and 8 deletions

View File

@@ -388,12 +388,13 @@ details. */
226: Export __locale_mb_cur_max.
227: Add pseudo_reloc_start, pseudo_reloc_end, image_base to per_process.
228: CW_STRERROR added.
229: Add mkostemp, mkostemps.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 228
#define CYGWIN_VERSION_API_MINOR 229
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible