We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I recently encountered the case that needs to open a file with the given raw c_int flags, which is the second argument of open(2).
I think it's better to be able to create a OpenOptions with the given flags in the cases dealing with FFI or network protocols and so on.
Here is my experimental try. branch: https://github.com/pfpacket/rust/tree/openoptext-flag
Edit: Now I think from_flag method is unnecessary, so I removed it.
The text was updated successfully, but these errors were encountered:
rust-lang/rust#30014
Sorry, something went wrong.
No branches or pull requests
I recently encountered the case that needs to open a file with the given raw c_int flags, which is the second argument of open(2).
I think it's better to be able to create a OpenOptions with the given flags in the cases dealing with FFI or network protocols and so on.
Here is my experimental try.
branch: https://github.com/pfpacket/rust/tree/openoptext-flag
Edit:
Now I think from_flag method is unnecessary, so I removed it.
The text was updated successfully, but these errors were encountered: