conventions among ioctl commands

Kris A. Kugel kak at hico2.UUCP
Wed Apr 3 04:13:26 AEST 1991


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 at hico2.westmark.com



More information about the Comp.unix mailing list