read_file

Read a file into a buffer

nothrow @nogc
char*
read_file
(
const(char)* path
)

Parameters

path const(char)*

The path to the file that shall be read

Return Value

Type: char*

NUL-terminated buffer if the file was successfully read, null-pointer otherwise

Meta