Description

Bitwise OR'ed flags to open the file, like O_CREAT, O_APPEND...

Defaults to O_RDONLY | O_CLOEXEC.

The flag O_CLOEXEC will be also managed by Efl.Io.Closer.close_on_exec.set. Setting the property after the file is opened will change its blocking behavior.

Since 1.19

Values

  • flags - Flags to open file, see man:open(2).

Setter

Constructor property to define flags to open the file

Since 1.19

Signature

@property flags {
    get {
        values {
            flags: uint32;
        }
    }
    set {
        values {
            flags: uint32;
        }
    }
}

C signature

uint32_t efl_io_file_flags_get(const Eo *obj);
void efl_io_file_flags_set(Eo *obj, uint32_t flags);

Implemented by

  • Efl.Io.File.flags