filespecbackup

Convert filespec into a backup filename appropriate for the operating system. For instance, under MS-DOS path\filename.ext will be converted to path\filename.bak. Input: filespec String that may or may not contain an extension

nothrow @safe @trusted
char*
filespecbackup
(
const(char)* filespec
)

Return Value

Type: char*

mem_malloc'ed string (NULL if error) NULL if filespec is NULL

Meta