[][src]Function linux::syscall::memfd_create

pub fn memfd_create(name: KStr, flags: c_uint) -> c_int

Creates a memfd.

[argument, name] The name of the pseudo-file.

[argument, flags] Flags to use for the new file.

= Remarks

Unless lrs was compiled with the no-auto-cloexec flag, this function automatically adds the MFD_CLOEXEC flag.

= See also

  • link:man:memfd_create(2)