MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / as_raw_fd

Method as_raw_fd

nodedb/src/data/eventfd.rs:32–34  ·  view source on GitHub ↗

Get the raw fd for use with `libc::poll`.

(&self)

Source from the content-addressed store, hash-verified

30
31 /// Get the raw fd for use with `libc::poll`.
32 pub fn as_raw_fd(&self) -> RawFd {
33 self.fd
34 }
35
36 /// Drain all pending notifications (non-blocking).
37 ///

Callers 6

read_syncMethod · 0.45
prefetch_batchMethod · 0.45
advise_willneedFunction · 0.45
advise_dontneedFunction · 0.45
read_filesMethod · 0.45
dropMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected