Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/core/sys/posix/stdlib.d
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ else version( Solaris )

void* valloc(size_t); // LEGACY non-standard
}
else version( CRuntime_Musl )
{
int setenv(in char*, in char*, int);
int unsetenv(in char*);
}

//
// Thread-Safe Functions (TSF)
Expand Down Expand Up @@ -493,6 +498,13 @@ else version( CRuntime_Bionic )
void srandom(uint s) { srand48(s); }
int unlockpt(int);
}
else version( CRuntime_Musl )
{
char* realpath(in char*, char*);
int putenv(char*);
int mkstemp(char*);

}
else version( Solaris )
{
//WNOHANG (defined in core.sys.posix.sys.wait)
Expand Down