iosb
struct _iosb iosb;
IOSB iosb;
&iosb,
unsigned short int iosb$w_status; /* Final I/O status */
status = sys$synch(EFN$C_ENF, &iosb);
if (!(iosb.iosb$w_status & 1)) {
if (iosb.iosb$w_status == SS$_ABORT)
iosb.iosb$w_status);
unsigned short int iosb$w_bcnt; /* 16-bit byte count */
TerminalDeviceBuff[TerminalDeviceIosb.iosb$w_bcnt] = '\0';
TerminalDeviceIosb.iosb$w_bcnt + 1, 0);
unsigned int iosb$l_dev_depend; /* 32-bit device dependent info */
unsigned int iosb$l_pid; /* 32-bit pid */
iosb$r_l;
iosb$r_bcnt_16;
unsigned int iosb$l_bcnt; /* 32-bit byte count (unaligned) */
unsigned short int iosb$w_dev_depend_high; /* 16-bit device dependent info */
iosb$r_bcnt_32;
iosb$r_devdepend;
iosb$r_io_64;
unsigned int iosb$l_getxxi_status; /* Final GETxxI status */
unsigned int iosb$l_reg_status; /* Final $Registry status */
iosb$r_l_status;
unsigned int iosb$l_reserved; /* Reserved field */
iosb$r_get_64;
iosb$r_io_get;
#define iosb$w_status iosb$r_io_get.iosb$r_io_64.iosb$w_status
#define iosb$w_bcnt iosb$r_io_get.iosb$r_io_64.iosb$r_devdepend.iosb$r_bcnt_16.iosb$w_bcnt
#define iosb$r_l iosb$r_io_get.iosb$r_io_64.iosb$r_devdepend.iosb$r_bcnt_16.iosb$r_l
#define iosb$l_dev_depend iosb$r_l.iosb$l_dev_depend
#define iosb$l_pid iosb$r_l.iosb$l_pid
#define iosb$l_bcnt iosb$r_io_get.iosb$r_io_64.iosb$r_devdepend.iosb$r_bcnt_32.iosb$l_bcnt
#define iosb$w_dev_depend_high iosb$r_io_get.iosb$r_io_64.iosb$r_devdepend.iosb$r_bcnt_32.iosb$w_dev_depend_high
#define iosb$l_getxxi_status iosb$r_io_get.iosb$r_get_64.iosb$r_l_status.iosb$l_getxxi_status
#define iosb$l_reg_status iosb$r_io_get.iosb$r_get_64.iosb$r_l_status.iosb$l_reg_status
short iosb$w_value;
short iosb$w_count;
long iosb$l_info;
static struct IOSB iosb;
status = sys$qiow(0, channel, IO$_SENSEMODE, &iosb, 0, 0, tty_orig, 12,
if ((status != SS$_NORMAL) || (iosb.iosb$w_value != SS$_NORMAL))
status = sys$qiow(0, channel, IO$_SETMODE, &iosb, 0, 0, tty_new, 12,
if ((status != SS$_NORMAL) || (iosb.iosb$w_value != SS$_NORMAL)) {
status, iosb.iosb$w_value);
status = sys$qiow(0, channel, IO$_SETMODE, &iosb, 0, 0, tty_new, 12,
if ((status != SS$_NORMAL) || (iosb.iosb$w_value != SS$_NORMAL)) {
status, iosb.iosb$w_value);
IOSB iosb;
if ((status = sys$getrmi(efn, 0, 0, RMI_items_64bit, &iosb, 0, 0))
if ((status = sys$synch(efn, &iosb)) != SS$_NORMAL) {
if (iosb.iosb$l_getxxi_status != SS$_NORMAL) {
lib$signal(iosb.iosb$l_getxxi_status);
if ((status = sys$getrmi(efn, 0, 0, RMI_items, &iosb, 0, 0))
if ((status = sys$synch(efn, &iosb)) != SS$_NORMAL) {
if (iosb.iosb$l_getxxi_status != SS$_NORMAL) {
lib$signal(iosb.iosb$l_getxxi_status);