Documentation for routine native-descriptor

Documentation for routine native-descriptor, assembled from the following types:

class IO::Handle

From IO::Handle

(IO::Handle) method native-descriptor

Defined as:

method native-descriptor()

This returns a value that the operating system would understand as a "file descriptor" and is suitable for passing to a native function that requires a file descriptor as an argument such as fcntl or ioctl.

role IO::Socket

From IO::Socket

(IO::Socket) method native-descriptor

method native-descriptor()

This returns a value that the operating system would understand as a "socket descriptor" and is suitable for passing to a native function that requires a socket descriptor as an argument such as setsockopt.