HP OpenVMS I/O User’s Reference Manual: OpenVMS Version 8.4 > Appendix A I/O Function Codes

A.4 Mailbox Driver

This section lists the function codes and function modifiers for the mailbox driver.

FunctionsArgumentsModifiers

IO$_READVBLK IO$_READLBLK IO$_READPBLK IO$_WRITEVBLK IO$_WRITELBLK IO$_WRITEPBLK

P1 — buffer address

P2 — buffer size

IO$M_NOW IO$M_NORSWAIT[22] IO$M_READERCHECK[22] IO$M_WRITERCHECK [23] IO$M_STREAM[23]

IO$_WRITEOF

None

IO$M_NOW IO$M_READERCHECK IO$M_STREAM

IO$_SETMODE!IO$M_READATTN IO$_SETMODE!IO$M_WRTATTN IO$_SETMODE!IO$MB_ROOM_NOTIFY

P1 — AST address

P2 — AST parameter

P3 — access mode

None

IO$_SETMODE!IO$M_READERWAIT[24]

IO$_SETMODE!IO$M_WRITERWAIT[24]

None

None

IO$_SETMODE!IO$M_SETPROT

P2 — volume protection mask

None

IO$_SENSEMODE!IO$M_READERCHECK[24]

IO$_SENSEMODE!IO$M_WRITERCHECK[24]

None

None

[22] Only for write functions

[23] Only for read functions

[24] VAX specific

QIO Status Returns in R0

SS$_ACCVIO

SS$_EXQUOTA

SS$_ILLIOFUNC

SS$INFMEM

SS$MBFULL

SS$_MBTOOSML

SS$_NOPRIV

SS$_NORMAL

IOSB Status Returns

SS$_ABORT

SS$_BUFFEROVF

SS$_CANCEL

SS$_ENDOFFILE

SS$_NOREADER

SS$_NORMAL

SS$_NOWRITER