File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,14 @@ Will flush the filehandle to disk.
168
168
169
169
$fh.flush;
170
170
171
+ = head2 method native-descriptor
172
+
173
+ method native-descriptor()
174
+
175
+ This returns a value that the operating system would understand as a "file descriptor" and
176
+ is suitable for passing to a native function that requires a file descriptor as an
177
+ argument such as C < fcntl > or C < ioctl > .
178
+
171
179
= head1 Related roles and classes
172
180
173
181
See also the related role L < IO > and the related class L < IO::Path > .
Original file line number Diff line number Diff line change @@ -56,4 +56,12 @@ Closes the socket.
56
56
57
57
Fails if the socket is not connected.
58
58
59
+ = head2 method native-descriptor
60
+
61
+ method native-descriptor()
62
+
63
+ This returns a value that the operating system would understand as a "socket descriptor" and
64
+ is suitable for passing to a native function that requires a socket descriptor as an
65
+ argument such as C < setsockopt > .
66
+
59
67
= end pod
You can’t perform that action at this time.
0 commit comments