File.open

Open a named file.

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

  1. void open(string pathname, int flags)
    struct File
    @trusted @nogc
    void
    open
    (
    string pathname
    ,
    int flags
    )
  2. void open(string pathname, int flags, mode_t mode)

Meta