Issue #10755: Add the posix.fdlistdir() function. Patch by Ross Lagerwall.
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 67034ea..692aa9c 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -733,6 +733,16 @@
This function is not available on MacOS.
+.. function:: fdlistdir(fd)
+
+ Like :func:`listdir`, but uses a file descriptor instead and always returns
+ strings. After execution of this function, *fd* will be closed.
+
+ Availability: Unix.
+
+ .. versionadded:: 3.3
+
+
.. function:: fpathconf(fd, name)
Return system configuration information relevant to an open file. *name*