Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Add support for mkdtemp().
Browse files Browse the repository at this point in the history
It's defined in IEEE 1003.1 2008 edition.
  • Loading branch information
ttung committed Jun 4, 2015
1 parent dc82475 commit c59ecbe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/sys/posix/stdlib.d
Expand Up @@ -193,6 +193,7 @@ void lcong48(ref ushort[7]);
c_long lrand48();
char* mktemp(char*); // LEGACY
int mkstemp(char*);
int mkdtemp(char*); // Defined in IEEE 1003.1, 2008 Edition
c_long mrand48();
c_long nrand48(ref ushort[3]);
int posix_openpt(int);
Expand Down Expand Up @@ -234,6 +235,7 @@ version( CRuntime_Glibc )
c_long lrand48();
char* mktemp(char*); // LEGACY
//int mkstemp(char*);
char* mkdtemp(char*); // Defined in IEEE 1003.1, 2008 Edition
c_long mrand48();
c_long nrand48(ref ushort[3]);
int posix_openpt(int);
Expand Down Expand Up @@ -284,6 +286,7 @@ else version( OSX )
c_long lrand48();
char* mktemp(char*); // LEGACY
int mkstemp(char*);
char* mkdtemp(char*); // Defined in IEEE 1003.1, 2008 Edition
c_long mrand48();
c_long nrand48(ref ushort[3]);
int posix_openpt(int);
Expand Down Expand Up @@ -324,6 +327,7 @@ else version( FreeBSD )
c_long lrand48();
char* mktemp(char*); // LEGACY
int mkstemp(char*);
char* mkdtemp(char*); // Defined in IEEE 1003.1, 2008 Edition
c_long mrand48();
c_long nrand48(ref ushort[3]);
int posix_openpt(int);
Expand All @@ -347,6 +351,7 @@ else version( CRuntime_Bionic )
c_long lrand48();
char* mktemp(char*); // LEGACY
int mkstemp(char*);
char* mkdtemp(char*); // Defined in IEEE 1003.1, 2008 Edition
c_long mrand48();
c_long nrand48(ref ushort[3]);
char* ptsname(int);
Expand Down Expand Up @@ -384,6 +389,7 @@ else version( Solaris )
c_long lrand48();
char* mktemp(char*); // LEGACY
//int mkstemp(char*);
char* mkdtemp(char*); // Defined in IEEE 1003.1, 2008 Edition
c_long mrand48();
c_long nrand48(ref ushort[3]);
int posix_openpt(int);
Expand Down

0 comments on commit c59ecbe

Please sign in to comment.