top logo menu kitty mascot
AROS.ORG Developers Localization Bounties

RXLIB

Index Prev Next


Name

RXLIB

Format

RXLIB
RXLIB name
RXLIB name priority
RXLIB name priority offset [argument]

Function

Lists, removes, or registers Rexx function hosts and libraries
through the REXX message port.

Inputs

name     - Function host or library name.
priority - Decimal registration priority for a host or library.
offset   - Decimal function-library entry offset.
argument - Optional additional numeric registration argument.

Result

Without arguments, prints registered hosts and libraries and
returns RC_OK. Other invocations return the Rexx reply status.
Unsupported argument counts return RC_ERROR.

Notes

A single name requests library removal. Name and priority register
a function host. Adding offset registers a function library; the
fourth supplied argument is forwarded as an additional numeric value.
RexxMast must already be running, as this command does not launch it.

Bugs

The program does not check whether its initialization succeeded before
accessing the Rexx message, so a missing interpreter service may cause
an invalid memory access instead of a clean command failure.

See also

RX