diff options
Diffstat (limited to 'sys/nmemio/merror.x')
-rw-r--r-- | sys/nmemio/merror.x | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/nmemio/merror.x b/sys/nmemio/merror.x new file mode 100644 index 00000000..d69eb6cd --- /dev/null +++ b/sys/nmemio/merror.x @@ -0,0 +1,18 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <syserr.h> +include <error.h> + + +# MERROR -- Provide a convenient trap for a memory error. + +procedure merror (msg) + +char msg[ARB] + +include "nmemio.com" + +begin + if (in_task > 0) + call error (EA_ERROR, msg) +end |