h6. [[OS SWI Calls]] h6(. » OS_ConvertFileSize h2. OS_ConvertFileSize h5. (SWI &EC) |_<^{width:3em}. Entry | | |<^. R0 |<^. File size | |<^. R1 |<^. Pointer to buffer for resulting string | |<^. R2 |<^. Size of buffer | |_<^{width:3em}. Exit | | |<^. R0|<^. Pointer to buffer (R1 on entry) | |<^. R1 |<^. Pointer to terminator | |<^. R2 |<^. Free bytes in buffer | h4. Use The purpose of this call is to convert a value to an amount of space in the form _x_ bytes, _x_ Kilobytes, or _x_ Megabytes. h4. See also * [[OS_ConvertDateAndTime]] * [[OS_ConvertFixedFileSize]] * [[OS_ConvertFixedNetStation]] * [[OS_ConvertNetStation]] * [[OS_ConvertStandardDateAndTime]]