Binary Compatibility Guide

ioctl's

All ioctl's related to filio, sockio, streamio, termio, termios, mtio, and dkio, as well as ioctl's supported by the older version 7 and 4BSD terminal drivers are supported. Otherwise, only the ioctl's pertaining to standard devices of Solaris 2.x platforms are provided. Discrepancies between the ioctl numbers (for the ioctl's supported) in the two versions are handled transparently. The ioctl parameters are mapped whenever necessary.

The following SunOS 4.x ioctl's are incompatible with the Solaris 2.x release:

DKIOCGCONF

This ioctl is not available in this release, but it is supported by the Binary Compatibility Package. This ioctl is replaced by DKIOCINFO, which now includes the combined information of the SunOS 4.x DKIOCGCONF and DKIOCINFO structures.

DKIOCGLOG

This ioctl is not supported in Solaris 2.x. With the Binary Compatibility Package it returns EINVAL.

DKIOCWCHK

In SunOS 4.x this ioctl toggles the write check on the floppy device. With the Binary Compatibility Package, this ioctl does not toggle the write check on the floppy device, but it returns success.

DKIOCSCMD

This ioctl is available only for the xd(7), xy(7), and ipi(7) drives. This ioctl will fail for SCSI devices. Use the USCSI ioctl for these devices.

_O_TIOCCONS

This ioctl is obsolete and is not supported by the Solaris 2.x release or this package.

_O_TIOCGSIZE

This ioctl is obsolete and is not supported by the Solaris 2.x release or this package.

_O_TIOCSSIZE

This ioctl is obsolete and is not supported by the Solaris 2.x release by the Solaris 2.x release or this package.

TIOCMODG

This ioctl is obsolete and is not supported by the Solaris 2.x release or this package.

TIOCMODS

This ioctl is obsolete and is not supported by the Solaris 2.x release or this package.