filespecdefaultext

Add extension onto filespec, if one isn't already there. Input: filespec Cannot be NULL ext Extension (without the .)

extern (C++) nothrow @safe @trusted
char*
filespecdefaultext
(
const(char)* filespec
,
const(char)* ext
)

Return Value

Type: char*

mem_malloc'ed string (NULL if error)

Meta