Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rws — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought




SYSCALLS/RWS - read/write storage allocator     82/01/04


Include files:

    Fortran:    none required
    Pascal:     /sys/ins/rws.ins.pas


Procedures and Functions:

    rws_$alloc (n_bytes, pointer)
        Allocates the specified number of bytes of read/write storage and
        returns a pointer to the first byte.  This storage is released when
        the program exits.  The returned pointer value is nil (zero) if
        no storage is available.   This procedure may be called from either
        Pascal or Fortran.

    rws_$alloc_rw (n_bytes), pointer = ...
        Allocates the specified number of bytes of read/write storage and
        returns a pointer to the first byte.  This storage is released when
        the program exits.  The returned pointer value is nil (zero) if
        no storage is available.  Call this function only from Pascal.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026