nix
nix copied to clipboard
Add System V shared memory APIs
trafficstars
First draft to add System V shared memory APIs. I would like some help with these questions:
- How to decide if an exported function should be
unsafeor not? For now, I've marked functions taking in any pointer arguments as unsafe. - Should we have
libc_bitflagsforshmflgorcmd? There aren't a set of constants with a fixed prefix as described in the CONVENTIONS.md file. There are a fewIPC_*andSHM_*constants for them.
Partially addresses #1718.