fopen

Opens the file with the given file name and mode.

extern (C) nothrow @nogc extern
fopen
(
const(char)* filename
,
const(char)* mode
)

Parameters

filename const(char)*

The name and path of the file to open, in system encoding.

mode const(char)*

The mode to open the file in.

Return Value

Type: FILE*

A file handle on success, null on failure.

Meta