writeFile

Writes a file, terminate the program on error

extern (D) nothrow
bool
writeFile
(,
const(char)[] filename
,
const void[] data
)

Parameters

loc Loc

The line number information from where the call originates

filename const(char)[]

Path to file

data void[]

Full content of the file to be written

Return Value

Type: bool

false on error

Meta