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

Function EndpointCall

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

//////////////////////// \brief EndpointCall (endpoint, id, data, rID, rData, size, timeout) Accept a pending connection on an interface and return a new MessageEndpoint \param endpoint (handle_id_t) Handle ID of specified endpoint \param id (uint64_t) id of message to send \param data (uint8_t*/uint64_t) Message data to be sent, if size <= 8 then treated as an integer containing message data, i

Source from the content-addressed store, hash-verified

110 /// \return 0 on success, negative error code on failure
111 /////////////////////////////
112 __attribute__((always_inline)) inline long EndpointCall(const handle_t endpoint, const uint64_t id, const uintptr_t data, const uint64_t rID, uintptr_t rData, uint16_t* size){
113 return syscall(SYS_ENDPOINT_CALL, endpoint, id, data, rID, rData, size);
114 }
115
116 /////////////////////////////
117 /// \brief SysEndpointInfo (endpoint, info)

Callers 1

CallMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected