h6. [[OS SWI Calls]] h6(. » [[OS_Args]] h6((. » OS_Args 4 h2. OS_Args 4 h5. (SWI &09) |_<^{width:3em}. Entry | | |<^. R0|<^. 4 (reason code) | |<^. R1|<^. File handle | |_<^{width:3em}. Exit || |<^. R0|<^. Preserved | |<^. R1|<^. Preserved | |<^. R2|<^. Allocated size of the file in bytes| h4. Use The purpose of this call is to return the allocated size of a file. h4. Notes The call returns the space set aside on the media for the given handle, regardless of its extent. Often this will be larger, for example to avoid fragmenting open files. The value return will always be equal to, or greater than the file extent. h4. See also * [[OS_Args]]