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_GBPB 1

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

OS_ GBPB 1

(SWI &0C)
Entry
R0 1
R1 File handle
R2 Buffer
R3 Bytes to write
R4 File pointer
Exit
R0 Preserved
R1 Preserved
R2 Pointer after end of data
R3 Number of bytes not transferred
R4 New file pointer
C flag is clear

Use

The purpose of this call is to write bytes to an open file at a given pointer.

Notes

The ‘EOF-error-on-next-read’ flag is cleared.

Error is generated if invalid file handle, directory, or no write access.

OS_GBPB 2 writes bytes to an open file, but only at the current file pointer.

See also

  • OS_GBPB
  • OS_GBPB 2
Created on November 27, 2009 22:38:44 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_GBPB, OS_GBPB 2

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