std.internal.cstring
Helper functions for working with C strings.
This module is intended to provide fast, safe and garbage free way to work with C strings.
Copyright
Denis Shelomovskij 2013-2014
Types 1
Functions 3
fn
auto tempCString(To = char, From)(scope From str) if (isSomeChar!To && (isInputRange!From || isSomeString!From) &&
isSomeChar!(ElementEncodingType!From))Creates temporary 0-terminated C string with copy of passed text.private fn
To[] trustedReallocStack(To)(scope To[] buf, size_t strLength) @trusted @nogc pure nothrow