STXXL
1.4-dev
|
Since with STXXL one often has to parse large file or disk sizes, there is a function called parse_SI_IEC_size(), which accepts strings like "1 GiB" or "20 TB" as input.
See the Disk Configuration Files documentation page on the format of accepted file size strings.