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

Function InterfaceConnect

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

//////////////////////// \brief InterfaceConnect (path) - Open a connection to an interface Open a new connection on an interface and return a new MessageEndpoint \param interface (const char*) Path of interface in format servicename/interfacename (e.g. lemon.lemonwm/wm) \return Handle ID of endpoint on success, negative error code on failure ////////////////////////

Source from the content-addressed store, hash-verified

59 /// \return Handle ID of endpoint on success, negative error code on failure
60 /////////////////////////////
61 inline handle_t InterfaceConnect(const char* path){
62 return syscall(SYS_INTERFACE_CONNECT, path);
63 }
64
65 /////////////////////////////
66 /// \brief EndpointQueue (endpoint, id, size, data) - Queue a message on an endpoint

Callers 2

EndpointMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected