Skip to content

O_DIRECT, core_unix, Open_flags, direct #147

@tomjridge

Description

@tomjridge

I was looking for a way of opening a file using the O_DIRECT flag. I saw that core_unix has a module Open_flags which includes O_DIRECT. This looks great. However, there appears to be no way to actually open a file with that flag (I think Open_flags are currently only used with fcntl). Is there any way to open a file with the O_DIRECT flag? Do you intend to add this functionality at some point? Do you know any libraries that currently support this flag? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    forwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions