MPE/iX Intrinsics Reference Manual (32650-90875)
Chapter 7 345
Command Definitions (HP32208-HPLOACNMPROC)
HPDEVCREATE
• If no errors or warnings occur, status returns 32-bits of zero.
• If errors or warnings occur, status is interpreted as two 16-bit fields:
Bits (0:16) Comprise status.info. A negative value indicates an
error condition, and a positive value indicates a warning
condition.
Bits (16:16) Comprise status.subsys. The value represents the
subsystem that sets the status information. For
HPDEVCREATE intrinsic, the subsystem is File System
(143).
If the
status
parameter is not specified and an error
occurs during the processing of HPDEVCREATE call, the
calling process aborts.
keyword# 32-bit integer by value (optional)
Specifies a keyword value used in combination with the corresponding
keyvalue parameter. Specifies the type of device file options used to create
a device file. Up to 32 keyword/keyvalue pairs may be specified in a call
to HPDEVCREATE. The following table lists the defined keyword/keyvalue
pairs. Specifying a keyword other than those below will result in a error.
• If duplicate keywords are specified in a call to HPDEVCREATE, the last
keyvalue is used, and a warning is returned to the caller.
• If no keyword/keyvalue pairs are specified, an error is returned.
keyvalue# Type varies by reference (optional)
The keyvalue parameter is matched with its corresponding keyword to
pass information to HPDEVCREATE. If a keyword is specified and the
keyvalue is not present, an error will occur.
Table 7-12. HPDEVCREATE Keywords/keyvalues
Key
word
Type Description
0 None End of option list.
There is no corresponding keyvalue. Terminates the keyword/keyvalue list and
is equivalent to not passing a keyword/keyvalue pair.