1: /*
   2:  * Declaration of block device
   3:  * switch. Each entry (row) is
   4:  * the only link between the
   5:  * main unix code and the driver.
   6:  * The initialization of the
   7:  * device switches is in the
   8:  * file conf.c.
   9:  */
  10: extern struct bdevsw
  11: {
  12:     int (*d_open)();
  13:     int (*d_close)();
  14:     int (*d_strategy)();
  15:     struct buf *d_tab;
  16: } bdevsw[];
  17: 
  18: /*
  19:  * Character device switch.
  20:  */
  21: extern struct cdevsw
  22: {
  23:     int (*d_open)();
  24:     int (*d_close)();
  25:     int (*d_read)();
  26:     int (*d_write)();
  27:     int (*d_ioctl)();
  28:     int (*d_stop)();
  29:     struct tty *d_ttys;
  30: } cdevsw[];
  31: 
  32: /*
  33:  * tty line control switch.
  34:  */
  35: extern struct linesw
  36: {
  37:     int (*l_open)();
  38:     int (*l_close)();
  39:     int (*l_read)();
  40:     char    *(*l_write)();
  41:     int (*l_ioctl)();
  42:     int (*l_rint)();
  43:     int (*l_rend)();
  44:     int (*l_meta)();
  45:     int (*l_start)();
  46:     int (*l_modem)();
  47: } linesw[];

Defined struct's

bdevsw defined in line 10; used 4 times
cdevsw defined in line 21; used 4 times
linesw defined in line 35; used 2 times

Usage of this include

Last modified: 1979-05-13
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 586
Valid CSS Valid XHTML 1.0 Strict