Efl.Io.File.flags

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.

Values

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

Setter

Constructor property to define flags to open the file

Signature

@property flags {
    get {}
    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