Added mkstemp function. Should use a secure random number generator.

This commit is contained in:
Philip Homburg
2005-06-29 15:29:08 +00:00
parent eb3d5f2a54
commit 62f7f9e6d2
3 changed files with 140 additions and 0 deletions

View File

@@ -63,6 +63,10 @@ _PROTOTYPE( void qsort, (void *_base, size_t _nmemb, size_t _size,
_PROTOTYPE( unsigned long int strtoul,
(const char *_nptr, char **_endptr, int _base) );
#ifdef _POSIX_SOURCE
_PROTOTYPE( int mkstemp, (char *_fmt) );
#endif
#ifdef _MINIX
_PROTOTYPE( int putenv, (const char *_name) );
_PROTOTYPE(int getopt, (int _argc, char **_argv, char *_opts));