h6. [[OS SWI Calls]] h6(. » [[OS_Args]] h6((. » OS_Args 0 h2. OS_Args 0 h5. (SWI &09) |_<^{width:3em}. Entry | | |<^. R0|<^. 0 (reason code) | |<^. R1|<^. File handle, or 0 | |_<^{width:3em}. Exit || |<^. R0|<^. Temporary [[Filing System Numbers]] [1] (if R1=0 on entry) | |<^. R1|<^. Preserved | |<^. R2|<^. File pointer (if R1 <> 0 on entry)| h4. Use The purpose of this call is to return the temporary filing system number (R1 = 0), or file pointer (R1 <> 0). h4. Notes fn1. FileSwitch versions between 1.70 (RISC OS 3.00) and 2.75 will return 0x40000000 if no temporary filing system is active. For backwards compatibility, treat values 0 and 0x40000000 as meaning 'none'. h4. See also * [[OS_Args]]