RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

FileCore_FreeSpace

Programmer's Reference Manuals
» Part 15 – SWI Calls
» FileCore
» FileCore_FreeSpace

FileCore_FreeSpace

(SWI &40543)
Entry
R0 Pointer to disc specifier (name, or :0, etc…)
R8 Pointer to FileCore instance private word
Exit
R0 Total free space on disc
R1 Size of largest object that can be created
R8 Preserved ?

Use

The purpose of this call is to return the total free space on given disc, and the largest object that can be created on it.

Notes

As this call cannot support large discs, the maximum value of &7FFFFFFF is a file ‘at least 2Gb’ in size.

FileCore_FreeSpace64 provides support for larger discs, and should be used in preference.

See also

  • FileCore
  • FileCore_FreeSpace64
Created on December 6, 2009 17:13:27 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: FileCore SWI Calls, FileCore_FreeSpace64, SWI Introduction

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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