HomeManualTopicsTypesSymbols

std_types::file_type/std::to_integer

returns an integer value representing the file_type

Parameter

type
a file type

Result

value
an integer value

Description

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

Topic

POSIX

Implements

std::to_integer converts its argument into an integer number

See also

std_types::file_type a POSIX file type
std::file_type constructs a file_type from an integer value