HomeManualTopicsTypesSymbols

std_types::file_descriptor/std::to_integer

returns an integer value representing the file descriptor

Parameter

descriptor
a file descriptor

Result

value
an integer value

Description

This function returns the internal (POSIX) representation of the file descriptor.

Topic

POSIX

Implements

std::to_integer converts its argument into an integer number

See also

std_types::file_descriptor a POSIX file descriptor
std::file_descriptor constructs a file_descriptor from an integer value