HomeManualTopicsTypesSymbols

std::fstat

retrieves status information about the file described by the specified file descriptor

Parameter

fd
the file descriptor

Result

stat
the status information

Description

This function needs I/O-access rights.

Example

stat! $stat_info "/bin/ls" println! size_of(stat_info)

Output

147176

Topic

POSIX

See also

std::stat retrieves status information about the specified file
std::readlink
std_types::stat file status information