mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
This uses `libc::fcntl`, which, while not explicitly marked as available in the headers, is already used by `File::sync_all` and `File::sync_data` on these platforms, so should be fine to use here as well.