writeFile

Writes a file, terminate the program on error

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

Parameters

loc
Type: Loc

The line number information from where the call originates

filename
Type: const(char)[]

Path to file

data
Type: void[]

Full content of the file to be written

Meta