lkml.org 
[lkml]   [2001]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: LANANA: To Pending Device Number Registrants
    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:17    [W:4.176 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site