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_GetEnv

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

OS_GetEnv

(SWI &10)
Entry
- -
Exit
R0 Address of *command (read only)
R1 RAM limit
R2 Pointer to 5-byte time of program start

Use

The purpose of this call is to read environment parameters.

Notes

The values returned by this SWI in R0 and R2 can be set with OS_WriteEnv, the RAM limit is set with OS_ChangeEnvironment with a handle number of zero.

See also

  • OS_WriteEnv
  • OS_ChangeEnvironment
Created on November 28, 2009 20:48:43 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS SWI Calls, OS_SetEnv, OS_WriteEnv

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