summaryrefslogtreecommitdiffstats
path: root/vendor/rustix-0.36.5/src/io/eventfd.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix-0.36.5/src/io/eventfd.rs')
-rw-r--r--vendor/rustix-0.36.5/src/io/eventfd.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/vendor/rustix-0.36.5/src/io/eventfd.rs b/vendor/rustix-0.36.5/src/io/eventfd.rs
deleted file mode 100644
index 22ffc627c..000000000
--- a/vendor/rustix-0.36.5/src/io/eventfd.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-use crate::fd::OwnedFd;
-use crate::{backend, io};
-
-pub use backend::io::types::EventfdFlags;
-
-/// `eventfd(initval, flags)`—Creates a file descriptor for event
-/// notification.
-///
-/// # References
-/// - [Linux]
-///
-/// [Linux]: https://man7.org/linux/man-pages/man2/eventfd.2.html
-#[inline]
-pub fn eventfd(initval: u32, flags: EventfdFlags) -> io::Result<OwnedFd> {
- backend::io::syscalls::eventfd(initval, flags)
-}