Kaydet (Commit) a771a1b4 authored tarafından Charles-Francois Natali's avatar Charles-Francois Natali

Issue #17529: Fix os.sendfile() documentation regarding the type of file

descriptor supported.
üst 81641d6e
...@@ -999,9 +999,8 @@ as internal buffering of data. ...@@ -999,9 +999,8 @@ as internal buffering of data.
On Mac OS X and FreeBSD, a value of 0 for *nbytes* specifies to send until On Mac OS X and FreeBSD, a value of 0 for *nbytes* specifies to send until
the end of *in* is reached. the end of *in* is reached.
On Solaris, *out* may be the file descriptor of a regular file or the file All platforms support sockets as *out* file descriptor, and some platforms
descriptor of a socket. On all other platforms, *out* must be the file allow other types (e.g. regular file, pipe) as well.
descriptor of an open socket.
Availability: Unix. Availability: Unix.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment