shared memory between C++ and Rust

Viewed 482

I have a C++ application, that spawns a child Rust binary via fork/exec.

How do I create shared memory between C++ and Rust? In C++ I can use shmget to create a shared memory block, what do I do on the Rust side?

Thanks.

0 Answers
Related