[comp.unix] conventions among ioctl commands

kak@hico2.UUCP (Kris A. Kugel) (04/03/91)

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