MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / InterfaceAccept

Function InterfaceAccept

LibLemon/include/lemon/system/ipc.h:48–50  ·  view source on GitHub ↗

//////////////////////// \brief InterfaceAccept (interface) - Accept connections on an interface Accept a pending connection on an interface and return a new MessageEndpoint \param interface (handle_t) Handle ID of the interface \return Handle ID of endpoint on success, 0 when no pending connections, negative error code on failure ////////////////////////

Source from the content-addressed store, hash-verified

46 /// \return Handle ID of endpoint on success, 0 when no pending connections, negative error code on failure
47 /////////////////////////////
48 inline handle_t InterfaceAccept(const handle_t interface){
49 return syscall(SYS_INTERFACE_ACCEPT, interface);
50 }
51
52 /////////////////////////////
53 /// \brief InterfaceConnect (path) - Open a connection to an interface

Callers 1

PollMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected