Entry | |
---|---|
R0 | 58 (&3A) |
R1 | Previous handle, or -1 to start |
Exit | |
---|---|
R0 | Stream status word |
R1 | File handle, or -1 for no more |
R2 | Filing system information word |
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.
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.