This commit is contained in:
Kovid Goyal 2026-08-30 21:12:13 +05:30
parent 33a2685550
commit 8dd6436917
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -347,7 +347,7 @@ Value of `t` Meaning
``s`` A *shared memory object*, which on POSIX systems is a
`POSIX shared memory object <https://pubs.opengroup.org/onlinepubs/9699919799/functions/shm_open.html>`_
and on Windows is a
`Named shared memory object <https://docs.microsoft.com/en-us/windows/win32/memory/creating-named-shared-memory>`_. On POSIX shm names **must** start with a :file:`/` and be at most ``NAME_MAX`` characters none of which are slashes.
`Named shared memory object <https://docs.microsoft.com/en-us/windows/win32/memory/creating-named-shared-memory>`_. On POSIX shm names **must** start with a :file:`/` and have no other :file:`/` characters and must be no longer than the maximum SHM name size supported by the OS
The terminal emulator must read the data from the memory
object and then unlink and close it on POSIX and just
close it on Windows.