MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / create

Function create

src/event/port.rs:70–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68/// [illumos]: https://illumos.org/man/3C/port_create
69#[doc(alias = "port_create")]
70pub fn create() -> io::Result<OwnedFd> {
71 syscalls::port_create()
72}
73
74/// `port_associate(_, PORT_SOURCE_FD, _, _, _)`—Associates a file descriptor
75/// with a port.

Callers 9

test_statFunction · 0.50
test_inotify_iterFunction · 0.50
dir_entriesFunction · 0.50
test_raw_dirFunction · 0.50
test_dir_seekFunction · 0.50
serverFunction · 0.50
epoll_timeout_nsecsFunction · 0.50
epoll_timeout_secsFunction · 0.50
mainFunction · 0.50

Calls 1

port_createFunction · 0.85

Tested by 7

test_statFunction · 0.40
test_inotify_iterFunction · 0.40
dir_entriesFunction · 0.40
test_raw_dirFunction · 0.40
test_dir_seekFunction · 0.40
epoll_timeout_nsecsFunction · 0.40
epoll_timeout_secsFunction · 0.40