From f3d520cc16249fd7e433bd27ddb45be83f2c50bd Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 29 Jul 2009 16:09:17 +0000 Subject: [PATCH] #6591: add reference to ioctl in fcntl module for platforms other than Windows. --- Doc/library/socket.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index b59b60902db..e50849dd1c5 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -599,6 +599,9 @@ correspond to Unix system calls applicable to sockets. The :meth:`ioctl` method is a limited interface to the WSAIoctl system interface. Please refer to the MSDN documentation for more information. + On other platforms, the generic :func:`fcntl.fcntl` and :func:`fcntl.ioctl` + functions may be used; they accept a socket object as their first argument. + .. versionadded:: 2.6