h6. [[OS SWI Calls]] h6(. » [[OS_FSControl]] h6((. » OS_FSControl 58 h2. OS_ FSControl 58 h5. (SWI &29) |_<^{width:4em}. Entry | | |<^. R0 |<^. 58 (&3A) | |<^. R1 |<^. Previous handle, or -1 to start| |_<^{width:4em}. Exit | | |<^. R0|<^. Stream status word| |<^. R1|<^. File handle, or -1 for no more| |<^. R2|<^. Filing system information word| h4. Use This call enumerates open handles and returns the same details as [[OS_Args 254]], however it avoids the need to make assumptions about the total number of handles available in the system. h4. Notes Registers R0 and R2 are preserved if R1 returns 'no more'. Beware that handles could be opened between calls to this SWI. Added in FileSwitch 2.74 in RISC OS 5.17. h4. See also * [[OS_FSControl]]