mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
e0bc267512
Function to convert OpenOptions to c_int Fixes: #74943 The creation_mode and access_mode function were already available in the OpenOptions struct, but currently private. I've added a new free functions to unix/fs.rs which takes the OpenOptions, and returns the c_int to be used as parameter for the `open` call.