Article View: comp.unix
Article #372conventions among ioctl commands
From: Kris A. Kugel
Date: Tue, 02 Apr 1991 18:13
Date: Tue, 02 Apr 1991 18:13
16 lines
1213 bytes
1213 bytes
In the document "UNIX PC Version 3.0 Device Driver Development Guide",
R. D. Niehaus says [about ioctl parameters]:
One particularly good idea is to have a common parameter
among all drivers; one that would permit feedback from
the driver about its type. In this way, a process could
verify just what device was attached to a file descriptor.
Does anybody know if such a convention exists? I couldn't find
any common element in the /usr/include/sys/*ioctl*.h files I looked at.
Kris A. Kugel
( 908 ) 842-2707
uunet!tsdiag.ccur.com!hico2!kak
{daver,ditka,zorch}!hico2!kak
internet: kak@hico2.westmark.com
Technical Details
Message-ID:
<4757@gumby.Altos.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!altos!gumby!clpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!altos!gumby!clp From: kak@hico2.UUCP (Kris A. Kugel) Newsgroups: comp.unix Subject: conventions among ioctl commands Keywords: ioctl 3b1 unixpc Message-ID: <4757@gumby.Altos.COM> Date: 2 Apr 91 18:13:26 GMT Sender: clp@gumby.Altos.COM Reply-To: uunet!diamond.rutgers.edu!hico2.westmark.com Followup-To: poster Organization: High Country Software Lines: 16 Approved: clp@altos.com