Skip to main content

memfd_create

Function memfd_create 

Source
pub(crate) fn memfd_create(name: &CStr, flags: c_uint) -> c_int
Expand description

memfd_create(2) through the raw system call: glibc wraps it only from 2.27, and the wheels hold to the glibc 2.17 manylinux floor. The descriptor, or -1 with errno set.