Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ devio(4) — Ultrix-32 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

devio(4)

NAME

devio − Ultrix device interface

SYNTAX

#include <sys/ioctl.h>
#include <sys/devio.h>

DESCRIPTION

The file < sys/devio.h > contains the needed structure and definitions to use the DEVIOCGET ioctl request. The basic structure used by this request is shown below:

/* Structure for DEVIOCGET ioctl - device get status command */
struct devget  {
       short   category;             /* Category                     */
       short   bus;                  /* Bus                          */
       char    interface[DEV_SIZE];  /* Interface (string)           */
       char    device[DEV_SIZE];     /* Device (string)              */
       short   adpt_num;             /* Adapter number               */
       short   nexus_num;            /* Nexus or node on adapter no. */
       short   bus_num;              /* Bus number                   */
       short   ctlr_num;             /* Controller number            */
       short   slave_num;            /* Plug or line number          */
       char    dev_name[DEV_SIZE];   /* Ultrix device mnemonic       */
       short   unit_num;             /* Ultrix device unit number    */
       unsigned soft_count;          /* Driver soft error count      */
       unsigned hard_count;          /* Driver hard error count      */
       long    stat;                 /* Generic status mask          */
       long    category_stat;        /* Category specific mask       */
};

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026