Returns the value of a configurable limit from name
for file_descriptor.
Parameters
file_descriptor
The file descriptor, which is expected to be either a file
resource or an int. An int
will be assumed to be a file descriptor that can be passed directly to
the underlying system call.