We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aa7856 commit ccf0efbCopy full SHA for ccf0efb
Doc/library/os.rst
@@ -3011,6 +3011,13 @@ features:
3011
(or a bitwise ORed combination of them). By default, the new file
3012
descriptor is :ref:`non-inheritable <fd_inheritance>`.
3013
3014
+ The name supplied in *name* is used as a filename and will be displayed as
3015
+ the target of the corresponding symbolic link in the directory
3016
+ ``/proc/self/fd/``. The displayed name is always prefixed with ``memfd:``
3017
+ and serves only for debugging purposes. Names do not affect the behavior of
3018
+ the file descriptor, and as such multiple files can have the same name
3019
+ without any side effects.
3020
+
3021
.. availability:: Linux 3.17 or newer with glibc 2.27 or newer.
3022
3023
.. versionadded:: 3.8
0 commit comments