pub(super) use crate::{c_char, c_int, c_mode_t, c_off_t, c_void};
unsafe extern "C" {
pub(super) fn shm_open(name: *const c_char, oflag: c_int, mode: c_mode_t) -> c_int;
pub(super) fn shm_unlink(name: *const c_char) -> c_int;
pub(super) fn ftruncate(fd: c_int, length: c_off_t) -> c_int;
pub(super) fn mmap(
addr: *mut c_void,
length: usize,
prot: c_int,
flags: c_int,
fd: c_int,
offset: c_off_t,
) -> *mut c_void;
pub(super) fn munmap(addr: *mut c_void, length: usize) -> c_int;
pub(super) fn free(ptr: *mut c_void);
pub(super) fn close(fd: c_int) -> c_int;
}