Skip to content
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

rustix::fs::OFlags::Async is missing #1243

Open
yuki0iq opened this issue Dec 16, 2024 · 0 comments
Open

rustix::fs::OFlags::Async is missing #1243

yuki0iq opened this issue Dec 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yuki0iq
Copy link
Contributor

yuki0iq commented Dec 16, 2024

linux-raw-sys defines FASYNC instead of O_ASYNC linux-raw-sys/.../general.rs

The Linux header file <asm/fcntl.h> doesn't define O_ASYNC; the (BSD-derived) FASYNC synonym is defined instead.
(man 2 open)

Note that O_ASYNC can't be used for open(2), so this should probably be noted if Async is ever added to OFlags

@sunfishcode sunfishcode added the enhancement New feature or request label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants