Skip to content

Commit 91fe934

Browse files
committed
updating doc.
1 parent 0fd4f11 commit 91fe934

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Network/Socket/Types.hsc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ fdSocket (Socket ref _) = readIORef ref
123123
--
124124
-- The file descriptor must not be used after @withFdSocket@ returns;
125125
-- see the documentation for 'fdSocket' to see why that is.
126+
--
127+
-- Since: 3.1.0.0
126128
withFdSocket :: Socket -> (CInt -> IO r) -> IO r
127129
withFdSocket (Socket ref@(IORef (STRef ref##)) _) f = do
128130
fd <- readIORef ref

0 commit comments

Comments
 (0)