Skip to content

Providing more parameters for open/fopen #233

@hmaarrfk

Description

@hmaarrfk

fh = fopen(filename, "rb");

it would be nice to be able to specify flags here

Specifically, the flag O_DIRECT is nice for large images.

Would you consider patches for this?

I think we would have to move to the lower level functions here.
https://man7.org/linux/man-pages/man2/open.2.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions