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

Function EndpointQueue

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

//////////////////////// \brief EndpointQueue (endpoint, id, size, data) - Queue a message on an endpoint Queues a new message on the specified endpoint. \param endpoint (handle_t) Handle ID of specified endpoint \param id (uint64_t) Message ID \param size (uint64_t) Message Size \param data (uint8_t*/uint64_t) Message data, if size <= 8 then treated as an integer containing message data, if siz

Source from the content-addressed store, hash-verified

75 /// \return 0 on success, negative error code on failure
76 /////////////////////////////
77 __attribute__((always_inline)) inline long EndpointQueue(const handle_t endpoint, const uint64_t id, const uint16_t size, const uintptr_t data){
78 return syscall(SYS_ENDPOINT_QUEUE, endpoint, id, size, data);
79 }
80
81 /////////////////////////////
82 /// \brief EndpointDequeue (endpoint, id, size, data)

Callers 2

QueueMethod · 0.85
QueueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected