Namespaces
Variants
Actions

std::filesystem::resize_file

From cppreference.com
 
 
 
Defined in header <filesystem>
void resize_file( const std::filesystem::path& p,
                  std::uintmax_t new_size );
(1) (since C++17)
void resize_file( const std::filesystem::path& p,