writeFile

Writes a file, terminate the program on error

extern (D)
void
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

Meta