Solaris Common Messages and Troubleshooting Guide

Inappropriate ioctl for device

Cause

This is a programming error.

Action

Ask the program's author to fix this condition. The program needs to be changed so it employs a device driver that can accept special character device controls.

Technical Notes

The ioctl(2) system call was given as an argument for a file that is not a special character device. This message replaces the traditional but puzzling "Not a typewriter" message.

The symbolic name for this error is ENOTTY, errno=25.