The latest version of memfd is 1.0.1.3-0.

memfd

Version 1.0.1.0 revision 0 uploaded by chris_martin.

Package meta

Synopsis
Open temporary anonymous Linux file handles
Description

"memfd" (memory file descriptor) lets us open pseudo-"files" that are not actually stored in the "real" file system. This feature is only available on Linux.

Such a file is described as an "anonymous file". It behaves like a regular file, and so can be modified, truncated, memory-mapped, and so on. However, unlike a regular file, it lives in RAM and has a volatile backing storage. Once all references to the file are dropped, it is automatically released.

The recommended way to import this library is:

import qualified Memfd

There is one central function:

create :: CreateOptions -> IO Fd

Fd stands for "file descriptor". Here are some things you can do with a file descriptor:

Author
Chris Martin
Bug reports
https://github.com/typeclasses/memfd/issues
Category
Filesystem, Linux
Copyright
2022 Mission Valley Software LLC
Homepage
https://github.com/typeclasses/memfd
Maintainer
Chris Martin, Julie Moronuki
Package URL
n/a
Stability
n/a

Components