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
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