The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
strndup
core
sys
posix
string
Save a copy of a string
version(Posix)
extern (
C
) nothrow @
nogc
char
*
strndup
(
scope
const
char
*
str
,
size_t
len
)
Meta
Source
See Implementation
core
sys
posix
string
functions
memccpy
stpcpy
stpncpy
strcoll_l
strerror_l
strndup
strnlen
strsignal
strtok_r
strxfrm_l
Save a copy of a string