rustix
rustix copied to clipboard
Add an API for shared memory APIs
softbuffer currently uses shmget, shmctl, and other shared memory APIs. It's the only thing left preventing us from switching from nix to rustix.
At a glance, the specific items needed seem to be:
shmatshmdtshmgetshmctlShmAtFlagsbitflags forSHM_*forshmatShmGetFlagsbitflags forSHM_*andIPC_*forshmgetShmIdDstype to correspond to structshmid_dsShmCmdenum for theSHM_*andIPC_*that can be used withshmctl