PyDocs

Nav

Generic Operating System Services

memfd_create

os

function · Added in 3.8Linux >= 3.17 with glibc >= 2.27
  • memfd_create(name[, flags=os.MFD_CLOEXEC])
Create an anonymous file and return a file descriptor that refers to it. flags must be one of the os.MFD_* constants available on the system (or a bitwise ORed combination of them). By default, the new file descriptor is non-inheritable.
0 Examples
No examples for os/memfd_create.
See Also
No see-alsos for os/memfd_create
0 Notes
No notes for memfd_create