shmemfdrs2
Fork of shmemfdrs.
Provides a single function
;
- On Linux
memfd_create
is used. - On FreeBSD
shm_open
withSHM_ANON
is used. - Other platform use
shm_open
followed byshm_unlink
.
License
Licensed under the Apache License, Version 2.0 < LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0 > or the MIT license < LICENSE-MIT or https://opensource.org/licenses/MIT >, at your option.