-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
Replace the Fcntl enum with values from libc #70
Comments
We have a decision to make here. The tradeoff is type safety vs future proofing. The most future-proof way to do this would be to accept any struct Fcntl(u32);
impl Fcntl {
const F_GETFL = Fcntl(libc::F_GETFL);
...
} Or something along those lines. What do you think? The same argument applies to |
Depends on rust-lang/libc#3628 |
Replace Fcntl::GetFL with libc::F_GETFL, etc.
The text was updated successfully, but these errors were encountered: