std::filesystem::status_known (3) - Linux Manuals
std::filesystem::status_known: std::filesystem::status_known
Command to display std::filesystem::status_known
manual in Linux: $ man 3 std::filesystem::status_known
NAME
std::filesystem::status_known - std::filesystem::status_known
Synopsis
Defined in header <filesystem>
bool status_known( std::filesystem::file_status s ) noexcept; (1) (since C++17)
Checks if the given file status is known, Equivalent to s.type() != file_type::none.
Parameters
s - file status to check
Return value
true if the given file status is a known file status.
Notes
Despite the name, the function checks for the file status of file_type::none (meaning an error occurred), not file_type::unknown (meaning file exists, but its type cannot be determined).
See also
status determines file attributes
symlink_status determines file attributes, checking the symlink target
(function)
(C++17)
(C++17)
status of the file designated by this directory entry
status symlink_status of the file designated by this directory entry
symlink_status (public member function of std::filesystem::directory_entry)
Pages related to std::filesystem::status_known
- std::filesystem::status,std::filesystem::symlink_status (3) - std::filesystem::status,std::filesystem::symlink_status
- std::filesystem::space (3) - std::filesystem::space
- std::filesystem::space_info (3) - std::filesystem::space_info
- std::filesystem::swap(std::filesystem::path) (3) - std::filesystem::swap(std::filesystem::path)
- std::filesystem::absolute (3) - std::filesystem::absolute
- std::filesystem::begin(directory_iterator),std::filesystem::end(directory_iterator) (3) - std::filesystem::begin(directory_iterator),std::filesystem::end(directory_iterator)
- std::filesystem::begin(recursive_directory_iterator), (3) - std::filesystem::begin(recursive_directory_iterator),
- std::filesystem::begin(recursive_directory_iterator),std::filesystem::end(recursive_directory_iterator) (3) - std::filesystem::begin(recursive_directory_iterator),std::filesystem::end(recursive_directory_iterator)
- std::filesystem::canonical,std::filesystem::weakly_canonical (3) - std::filesystem::canonical,std::filesystem::weakly_canonical
- std::filesystem::copy (3) - std::filesystem::copy
- std::filesystem::copy_file (3) - std::filesystem::copy_file
- std::filesystem::copy_options (3) - std::filesystem::copy_options
- std::filesystem::copy_symlink (3) - std::filesystem::copy_symlink
- std::filesystem::create_directory,std::filesystem::create_directories (3) - std::filesystem::create_directory,std::filesystem::create_directories
- std::filesystem::create_hard_link (3) - std::filesystem::create_hard_link
- std::filesystem::create_symlink,std::filesystem::create_directory_symlink (3) - std::filesystem::create_symlink,std::filesystem::create_directory_symlink
- std::filesystem::current_path (3) - std::filesystem::current_path
- std::filesystem::directory_entry (3) - std::filesystem::directory_entry
- std::filesystem::directory_entry::assign (3) - std::filesystem::directory_entry::assign
- std::filesystem::directory_entry::directory_entry (3) - std::filesystem::directory_entry::directory_entry
- std::filesystem::directory_entry::exists (3) - std::filesystem::directory_entry::exists