ERROR_$MODULE Domain/OS ERROR_$MODULE
NAME
error_$module - return the module code from a completion status
SYNOPSIS (C)
#include <apollo/base.h>
#include <apollo/error.h>
short error_$module(status_$t &status)
SYNOPSIS (Pascal)
%include '/sys/ins/base.ins.pas';
%include '/sys/ins/error.ins.pas';
function error_$module(in status: status_$t): integer;
SYNOPSIS (FORTRAN)
%include '/sys/ins/base.ins.ftn'
%include '/sys/ins/error.ins.ftn'
integer*2 module
integer*4 status
module = error_$module(status)
DESCRIPTION
Error_$module returns the module code (modc) from completion status
passed in status.
Error_$module is provided as an aid to interpreting completion status in
FORTRAN, though it may be called from C or Pascal as well. In C and Pas-
cal with status declared as type status_$t, error_$module(status) just
returns status.modc.
status
The completion status from a Domain/OS call.
SEE ALSO
status_$intro.