strndup

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (C) nothrow @nogc
static if(!__traits(compiles, strndup))
char*
strndup
(
const(char)* str
,
size_t maxlen
)

Meta