Re: LANANA: To Pending Device Number Registrants

Kai Henningsen
2001-05-17T22:42:24Z

hpa@transmeta.com (H. Peter Anvin) wrote on 16.05.01 in <3B03137A.80221C59@transmeta.com>:

> At some point something talks to the device -- in this case, it's the
> SCSI layer. Follow the interfaces in the kernel and it becomes obvious.

rc = sys_iskind(int filehandle, const char *driverkind)

rc = 0 or Esomething

Think of it as a generalization of isatty(). Maybe

#define isatty(f) sys_iskind(f, "tty")

:-;

MfG Kai