The OpenD Programming Language

strndup

Save a copy of a string

version(Posix)
extern (C) nothrow @nogc
char*
strndup
(
scope const char* str
,
size_t len
)

Meta