[libc-commits] [libc] [libc] Export the RPC interface from `libc` (PR #71432)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Mon Mar 11 08:51:36 PDT 2024


jhuber6 wrote:

I have updated this to only export the `send_n` and `recv_n` interface. This removes all the complexity with how to handle the internal buffer and such. I think it's perfectly reasonable to give people an interface to just stream N bytes back and forth because it can be used to create the other interface. It's less optimal in typical usage, but should be optimized sufficiently well from my investigations.

https://github.com/llvm/llvm-project/pull/71432


More information about the libc-commits mailing list