Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 977b3ac + d37de3c commit 4c3e687Copy full SHA for 4c3e687
1 file changed
Doc/library/os.rst
@@ -1228,7 +1228,11 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
1228
.. function:: writev(fd, buffers)
1229
1230
Write the contents of *buffers* to file descriptor *fd*. *buffers* must be a
1231
- sequence of :term:`bytes-like objects <bytes-like object>`.
+ sequence of :term:`bytes-like objects <bytes-like object>`. Buffers are
1232
+ processed in array order. Entire contents of first buffer is written before
1233
+ proceeding to second, and so on. The operating system may set a limit
1234
+ (sysconf() value SC_IOV_MAX) on the number of buffers that can be used.
1235
+
1236
:func:`~os.writev` writes the contents of each object to the file descriptor
1237
and returns the total number of bytes written.
1238
0 commit comments