mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue #17529: Fix os.sendfile() documentation regarding the type of file
descriptor supported.
This commit is contained in:
commit
f18a82d956
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
the end of *in* is reached.
|
||||
|
||||
On Solaris, *out* may be the file descriptor of a regular file or the file
|
||||
descriptor of a socket. On all other platforms, *out* must be the file
|
||||
descriptor of an open socket.
|
||||
All platforms support sockets as *out* file descriptor, and some platforms
|
||||
allow other types (e.g. regular file, pipe) as well.
|
||||
|
||||
Availability: Unix.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue