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.
1 parent 9305d83 commit d37de3cCopy full SHA for d37de3c
1 file changed
Doc/library/os.rst
@@ -1195,7 +1195,11 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
1195
.. function:: writev(fd, buffers)
1196
1197
Write the contents of *buffers* to file descriptor *fd*. *buffers* must be a
1198
- sequence of :term:`bytes-like objects <bytes-like object>`.
+ sequence of :term:`bytes-like objects <bytes-like object>`. Buffers are
1199
+ processed in array order. Entire contents of first buffer is written before
1200
+ proceeding to second, and so on. The operating system may set a limit
1201
+ (sysconf() value SC_IOV_MAX) on the number of buffers that can be used.
1202
+
1203
:func:`~os.writev` writes the contents of each object to the file descriptor
1204
and returns the total number of bytes written.
1205
0 commit comments