RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_FSControl 36

OS SWI Calls
» OS_FSControl
» OS_FSControl 36

OS_ FSControl 36

(SWI &29)
Entry
R0 36 (&24)
R1 Image filing system’s filetype
Exit
R0 Preserved
R1 Preserved

Use

The purpose of this call is to unregister/remove an image filing system from the list maintained by FileSwitch.

Notes

It calls the image filing system to close open files, flush buffers, and so on. You should use it in the finalise entry of an image filing system module.

Image filing systems must be removed on any type of finalisation call, and added on any kind of initialisation. The reason for this is that FileSwitch keeps pointers into the image filing system module code, which may be moved as a result of tidying the module area or other such operations.

Image filing systems can only be removed by passing the filing system’s filetype. Attempting to use the filing system number will result in an error being returned.

Modules must not complain about errors in filing system removal. Otherwise, it would be impossible to reinitialise the module after reinitialising the filing system manager.

See also

  • File Types
  • OS_FSControl
Revised on November 11, 2017 04:22:48 by Alan Robertson (52) (49.192.18.196)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: OS_FSControl

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys