stdlib: Add os.pidfd_open(pid)

This commit is contained in:
Martin Fischer
2022-03-06 15:57:52 -08:00
committed by Jelle Zijlstra
parent 9abf314a5b
commit 81a85f18b6
4 changed files with 5 additions and 5 deletions
+3
View File
@@ -1024,3 +1024,6 @@ if sys.version_info >= (3, 8):
if sys.version_info >= (3, 9):
def waitstatus_to_exitcode(status: int) -> int: ...
if sys.platform == "linux":
def pidfd_open(pid: int, flags: int = ...) -> int: ...