Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
FAT32 ファイル システムの単一パーティションを含む 2TB HDD があります。を使用してファイルを 100MB または 200MB などの大きなサイズに切り詰める場合ftruncate()、ゼロ パディングを行うのに 5 ~ 10 秒かかります。時間がかからない、またはゼロパディングなしでファイルを切り捨てる方法はありますか?
ftruncate()