libgit2-d ~master (2021-07-01T09:53:17Z)
Home
Dub
Repo
git_allocator.gstrndup
libgit2_d
sys
alloc
git_allocator
Equivalent to the
gstrdup
function, but only duplicating at most
n + 1
bytes
struct
git_allocator
char
*
function
(
const
(
char
)*
str
,
size_t
n
,
const
(
char
)*
file
,
int
line
)
gstrndup
;
Meta
Source
See Implementation
libgit2_d
sys
alloc
git_allocator
variables
gcalloc
gfree
gmalloc
gmallocarray
grealloc
greallocarray
gstrdup
gstrndup
gsubstrdup
Equivalent to the gstrdup function, but only duplicating at most n + 1 bytes