h6. [[OS SWI Calls]] h6(. » OS_ConvertFixedFileSize h2. OS_ConvertFixedFileSize h5. (SWI &EB) |_<^{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. Notes The output string is a fixed length, with the start padded with spaces. The call [[OS_ConvertFileSize]] performs the identical operation as this call, except the output is variable in length. h4. See also * [[OS_ConvertDateAndTime]] * [[OS_ConvertFileSize]] * [[OS_ConvertFixedNetStation]] * [[OS_ConvertNetStation]] * [[OS_ConvertStandardDateAndTime]]