MPE/iX Quick Reference Guide (32650-90881)

Chapter 3 95
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
Provides access to specified peripheral functionality without the device being opened.
Allows access to device utilities; not for general control (for example, reading or writing).
Nonshareable device (ND) capability is required.
I32 CA I32 I32
HPDEVCONTROL(
status,ldev,itemnum
,
item
);
HPENBLTRAP
NM callable only.
Selectively enables or disables arithmetic traps.
I32V I32
HPENBLTRAP(
mask,oldmask
);
HPERRDEPTH
NM callable only.
Returns the current depth of the process error stack.
I32 I32
HPERRDEPTH(
depth
,
status
);
HPERRMSG
NM callable only.
Obtains or displays error messages from the system catalog.
I32V I32V I16 I32V CA I16 I32
HPERRMSG(
displaycode
,
depth, errorproc,
errornum, buffer, buflength,status
);
HPERRREAD
NM callable only.
Reads any specified error from the process stack.
I32V I32 I32 I32
HPERRREAD(
depth,errornum
,
procnum,status
HPFADDTOPOINTER
NM callable only.
This routine can be used to perform arithmetic on a 64-bit pointer value. Byte offsets can
be added to or subtracted from a pointer by specifying either a positive or negative offset
value.
@64 I64 @64 I32
HPFADDTOPOINTER(base_ptr,
offset
,
return_ptr
,
status
,