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_ConvertFixedNetStation

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

OS_ConvertFixedNetStation

(SWI &E9)
Entry
R0 Pointer to net and station number block
R1 Pointer to buffer for resulting string
R2 Free bytes in 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 the network and station number to a string.

Notes

The output is in the form nnn.sss.

If the network is 0 then:

  • The first four characters are spaces
  • Leading zeros in the station number are converted to spaces otherwise
    • Leading zeros in the network number are converted to spaces
    • Leading zeros in the station number remain as zeros

See also

  • NetStation Number Block
  • OS_ConvertDateAndTime
  • OS_ConvertFileSize
  • OS_ConvertFixedFileSize
  • OS_ConvertNetStation
  • OS_ConvertStandardDateAndTime
Revised on November 26, 2010 12:38:09 by Trevor Johnson (329)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: OS SWI Calls, OS_ConvertDateAndTime, OS_ConvertStandardDateAndTime, OS_ConvertFileSize, OS_ConvertFixedFileSize, OS_ConvertNetStation, NetStation Number Block

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