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

OS_Args

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_Args

OS_Args

(SWI &09)
Entry
R0 Reason Code
R1 File handle
R2 Attribute (per reason code)
Exit
Different per reason code

Reason Codes

# Description
0 Read pointer/FS
1 Write pointer
2 Read extent
3 Write extent
4 Read allocated size
5 Read EOF status
6 Reserve space
7 Read pathname of open file
8 Inform of changed open file
9 IOCtl
254 Read info on file handle
255 Flush file(s)

Use

The purpose of this call is to read or write to an open file.

Notes

Each reason code specifies a different use for this call.

Revised on November 27, 2009 21:36:51 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: FileSwitch SWI Calls, OS_Args 0, OS_Args 1, OS_Args 2, OS_Args 3, OS_Args 4, OS_Args 5, OS_Args 6, OS_Args 7, OS_Args 8, OS_Args 9, OS_Args 254, OS_Args 255, IOCtl Parameter Block, IOCtl Reason Codes, OS SWI Calls, Software Vector Numbers

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