MPE/iX Quick Reference Guide (32650-90881)

96 Chapter3
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
HPFDUPLICATE
NM callable only.
Creates duplicate file descriptors for files opened for MULTI, SHARED, or EXCLUSIVE
access.
Syntax
I16 I32 I32V
*
filenum
:=HPFDUPLICATE(
source
,
status
,
target
);
HPFFILLDATA
NM callable only.
This routine can be used to efficiently initialize a buffer with a specified character value.
I64 @64 CV I32
HPFFILLDATA (count,
buffer_ptr
,
fill_char
,
status
,
HPFIRSTLIBRARY
NM callable only.
Returns the file name of the first native mode executable library (XL) in the binding
sequence of the calling process.
CA I32 I32
HPFIRSTLIBRARY(
formaldesig
,
status
,
length
);
HPFMOVEDATA
NM callable only.
This routine can be used to efficiently move data from a source buffer to a target buffer.
I64 @64 @64 I32
HPFMOVEDATA (count,
source_ptr
,
target_ptr
,
status
,
HPFMOVEDATALTOR
NM callable only.
This routine can be used to efficiently move data from a source buffer to a target buffer. If
the source and target buffers were viewed horizontally, like a line of text, the data
movement is performed by starting at leftmost position of the source buffer (to the leftmost
position of the target buffer) and proceeding to the rightmost
I64 @64 @64 I32
HPFMOVEDATALTOR (count,
source_ptr
,
target_ptr
,
status
,
HPFMOVEDATARTOL
NM callable only.