readFile

Reads a file, terminate the program on error

  1. FileBuffer readFile(Loc loc, const(char)* filename)
    readFile
    (,
    const(char)* filename
    )
  2. FileBuffer readFile(Loc loc, const(char)[] filename)

Parameters

loc Loc

The line number information from where the call originates

filename const(char)*

Path to file

Suggestion Box / Bug Report