mtio.h File

Purpose

Defines the magnetic tape user include file.

Description

The /usr/include/sys/mtio.h file is for use with devices that are driven by the magnetic tape driver. Since Linux operating system has an mtio.h file, the sys/mtio.h file has been added for Linux compatibility. The sys/mtio.h file can be used for ESCON® tape drives or for Linux-compatible source code.

Note:
  1. For Linux source-code compatibility (that is, source code or definitions based on the Linux operating system), set the following before including the sys/mtio.h file:
    #define _LINUX_SOURCE_COMPAT
  2. For an application that uses ESCON tape devices, install the ESCON tape device driver file sets on the build machine to obtain the sys/mtextend.h file. The ESCON tape device driver file sets are devices.pci.esconCH.rte and devices.common.IBM.esconCH.mtdd.rte.

File

/usr/include/sys/mtio.h