File.open - multiple declarations

Function File.open

Open a named file.

void open (
  string pathname,
  int flags
) @nogc @trusted;

Parameters are as defined for the open system call. flags must not have O_CREAT set (use the other overload for that case).

Function File.open

Open or create a named file.

void open (
  string pathname,
  int flags,
  uint mode
) @nogc @trusted;

Parameters are as defined for the open system call.