Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3011,6 +3011,13 @@ features:
(or a bitwise ORed combination of them). By default, the new file
descriptor is :ref:`non-inheritable <fd_inheritance>`.

The name supplied in *name* is used as a filename and will be displayed as
the target of the corresponding symbolic link in the directory
``/proc/self/fd/``. The displayed name is always prefixed with ``memfd:``
and serves only for debugging purposes. Names do not affect the behavior of
the file descriptor, and as such multiple files can have the same name
without any side effects.

.. availability:: Linux 3.17 or newer with glibc 2.27 or newer.

.. versionadded:: 3.8
Expand Down