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_ConvertFileSize

OS SWI Calls
» OS_ConvertFileSize

OS_ConvertFileSize

(SWI &EC)
Entry
R0 File size
R1 Pointer to buffer for resulting string
R2 Size of buffer
Exit
R0 Pointer to buffer (R1 on entry)
R1 Pointer to terminator
R2 Free bytes in buffer

Use

The purpose of this call is to convert a value to an amount of space in the form x bytes, x Kilobytes, or x Megabytes.

See also

  • OS_ConvertDateAndTime
  • OS_ConvertFixedFileSize
  • OS_ConvertFixedNetStation
  • OS_ConvertNetStation
  • OS_ConvertStandardDateAndTime
Revised on November 11, 2017 03:20:09 by Alan Robertson (52) (49.192.18.196)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: OS SWI Calls, OS_ConvertDateAndTime, OS_ConvertFixedFileSize, OS_ConvertNetStation, OS_ConvertStandardDateAndTime, OS_ConvertFixedNetStation, OS SWI Calls (français)

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